MemoryCard: Last byte should not set /ACK

This commit is contained in:
Connor McLaughlin 2020-04-26 01:18:36 +10:00
parent fccc2dd295
commit 2026ef99e8
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ bool MemoryCard::Transfer(const u8 data_in, u8* data_out)
FIXED_REPLY_STATE(State::WriteChecksum, m_checksum, true, State::WriteACK1);
FIXED_REPLY_STATE(State::WriteACK1, 0x5C, true, State::WriteACK2);
FIXED_REPLY_STATE(State::WriteACK2, 0x5D, true, State::WriteEnd);
FIXED_REPLY_STATE(State::WriteEnd, 0x47, true, State::Idle);
FIXED_REPLY_STATE(State::WriteEnd, 0x47, false, State::Idle);
// new command
case State::Idle: