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

Function FileMcd_GetSizeInfo

pcsx2/SIO/Memcard/MemoryCardFile.cpp:714–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712}
713
714void FileMcd_GetSizeInfo(uint port, uint slot, McdSizeInfo* outways)
715{
716 const uint combinedSlot = FileMcd_ConvertToSlot(port, slot);
717 switch (EmuConfig.Mcd[combinedSlot].Type)
718 {
719 case MemoryCardType::File:
720 Mcd::impl.GetSizeInfo(combinedSlot, *outways);
721 break;
722 case MemoryCardType::Folder:
723 Mcd::implFolder.GetSizeInfo(combinedSlot, *outways);
724 break;
725 default:
726 return;
727 }
728}
729
730bool FileMcd_IsPSX(uint port, uint slot)
731{

Callers 1

GetSizeInfoMethod · 0.85

Calls 2

FileMcd_ConvertToSlotFunction · 0.85
GetSizeInfoMethod · 0.45

Tested by

no test coverage detected