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

Function FileMcd_IsPresent

pcsx2/SIO/Memcard/MemoryCardFile.cpp:700–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700s32 FileMcd_IsPresent(uint port, uint slot)
701{
702 const uint combinedSlot = FileMcd_ConvertToSlot(port, slot);
703 switch (EmuConfig.Mcd[combinedSlot].Type)
704 {
705 case MemoryCardType::File:
706 return Mcd::impl.IsPresent(combinedSlot);
707 case MemoryCardType::Folder:
708 return Mcd::implFolder.IsPresent(combinedSlot);
709 default:
710 return false;
711 }
712}
713
714void FileMcd_GetSizeInfo(uint port, uint slot, McdSizeInfo* outways)
715{

Callers 1

IsPresentMethod · 0.85

Calls 2

FileMcd_ConvertToSlotFunction · 0.85
IsPresentMethod · 0.45

Tested by

no test coverage detected