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

Function FileMcd_IsPSX

pcsx2/SIO/Memcard/MemoryCardFile.cpp:730–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730bool FileMcd_IsPSX(uint port, uint slot)
731{
732 const uint combinedSlot = FileMcd_ConvertToSlot(port, slot);
733 switch (EmuConfig.Mcd[combinedSlot].Type)
734 {
735 case MemoryCardType::File:
736 return Mcd::impl.IsPSX(combinedSlot);
737 case MemoryCardType::Folder:
738 return Mcd::implFolder.IsPSX(combinedSlot);
739 default:
740 return false;
741 }
742}
743
744s32 FileMcd_Read(uint port, uint slot, u8* dest, u32 adr, int size)
745{

Callers 1

IsPSXMethod · 0.85

Calls 2

FileMcd_ConvertToSlotFunction · 0.85
IsPSXMethod · 0.45

Tested by

no test coverage detected