DigitalController: Fix broken input due to 0x01 handling

Fixes THPS among others.
This commit is contained in:
Connor McLaughlin
2019-10-26 22:33:23 +10:00
parent 3b32053065
commit b0c492fd43
3 changed files with 46 additions and 48 deletions

View File

@ -278,12 +278,14 @@ void Pad::DoTransfer()
else
{
// memory card responded, make it the active device until non-ack
Log_DebugPrintf("Transfer to memory card, data_out=0x%02X, data_in=0x%02X", data_in, data_out);
m_active_device = ActiveDevice::MemoryCard;
}
}
else
{
// controller responded, make it the active device until non-ack
Log_DebugPrintf("Transfer to controller, data_out=0x%02X, data_in=0x%02X", data_in, data_out);
m_active_device = ActiveDevice::Controller;
}
}