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

Method DoState

pcsx2/SIO/Sio0.cpp:304–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304bool Sio0::DoState(StateWrapper& sw)
305{
306 if (!sw.DoMarker("Sio0"))
307 return false;
308
309 sw.Do(&txData);
310 sw.Do(&rxData);
311 sw.Do(&stat);
312 sw.Do(&mode);
313 sw.Do(&ctrl);
314 sw.Do(&baud);
315 sw.Do(&flag);
316 sw.Do(&sioStage);
317 sw.Do(&sioMode);
318 sw.Do(&sioCommand);
319 sw.Do(&padStarted);
320 sw.Do(&rxDataSet);
321 sw.Do(&port);
322 sw.Do(&slot);
323
324 return sw.IsGood();
325}

Callers

nothing calls this directly

Calls 3

DoMarkerMethod · 0.80
IsGoodMethod · 0.80
DoMethod · 0.45

Tested by

no test coverage detected