MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / SetTerminator

Method SetTerminator

pcsx2/SIO/Memcard/MemoryCardProtocol.cpp:181–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void 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

Callers 1

MemcardMethod · 0.80

Calls 4

WriteLnMethod · 0.45
frontMethod · 0.45
pop_frontMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected