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

Function sioSetGameSerial

pcsx2/SIO/Sio.cpp:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void sioSetGameSerial( const std::string& serial ) {
27 for ( uint port = 0; port < 2; ++port ) {
28 for ( uint slot = 0; slot < 4; ++slot ) {
29 if ( mcds[port][slot].ReIndex( serial ) ) {
30 AutoEject::Set( port, slot );
31 }
32 }
33 }
34}
35
36std::tuple<u32, u32> sioConvertPadToPortAndSlot(u32 index)
37{

Callers 1

FileMcd_ReopenFunction · 0.85

Calls 2

SetFunction · 0.85
ReIndexMethod · 0.45

Tested by

no test coverage detected