mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 11:32:43 +01:00
Handle GoIdleState and SendInterfaceCond exceptions
This commit is contained in:
parent
bc82653fea
commit
43ec859219
@ -180,7 +180,10 @@ void CEXISD::WriteByte(u8 byte)
|
||||
u8 hash = (Common::HashCrc7(command_buffer.data(), 5) << 1) | 1;
|
||||
if (byte != hash)
|
||||
{
|
||||
if (byte != 0xff)
|
||||
Command command = static_cast<Command>(command_buffer[0] & 0x3f);
|
||||
|
||||
if (byte != 0xff || command == Command::GoIdleState ||
|
||||
command == Command::SendInterfaceCond)
|
||||
{
|
||||
WARN_LOG_FMT(EXPANSIONINTERFACE,
|
||||
"EXI SD command invalid, incorrect CRC7: got {:02x}, should be {:02x}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user