| 179 | } |
| 180 | |
| 181 | void MemoryCardProtocol::SetTerminator() |
| 182 | { |
| 183 | MC_LOG.WriteLn("%s", __FUNCTION__); |
| 184 | PS1_FAIL(); |
| 185 | mcd->term = g_Sio2FifoIn.front(); |
| 186 | g_Sio2FifoIn.pop_front(); |
| 187 | g_Sio2FifoOut.push_back(0x00); |
| 188 | g_Sio2FifoOut.push_back(0x2b); |
| 189 | g_Sio2FifoOut.push_back(mcd->term); |
| 190 | } |
| 191 | |
| 192 | // This one is a bit unusual. Old and new versions of MCMAN seem to handle this differently. |
| 193 | // Some commands may check [4] for the terminator. Others may check [3]. Typically, older |