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

Function FileMcd_GetDefaultName

pcsx2/SIO/Memcard/MemoryCardFile.cpp:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244std::string FileMcd_GetDefaultName(uint slot)
245{
246 if (FileMcd_IsMultitapSlot(slot))
247 return StringUtil::StdStringFromFormat("Mcd-Multitap%u-Slot%02u.ps2", FileMcd_GetMtapPort(slot) + 1, FileMcd_GetMtapSlot(slot) + 1);
248 else
249 return StringUtil::StdStringFromFormat("Mcd%03u.ps2", slot + 1);
250}
251
252FileMemoryCard::FileMemoryCard()
253{

Callers 3

refreshMethod · 0.85
Pcsx2ConfigMethod · 0.85

Calls 4

FileMcd_IsMultitapSlotFunction · 0.85
StdStringFromFormatFunction · 0.85
FileMcd_GetMtapPortFunction · 0.85
FileMcd_GetMtapSlotFunction · 0.85

Tested by

no test coverage detected