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

Function FileMcd_GetCRC

pcsx2/SIO/Memcard/MemoryCardFile.cpp:786–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786u64 FileMcd_GetCRC(uint port, uint slot)
787{
788 const uint combinedSlot = FileMcd_ConvertToSlot(port, slot);
789 switch (EmuConfig.Mcd[combinedSlot].Type)
790 {
791 case MemoryCardType::File:
792 return Mcd::impl.GetCRC(combinedSlot);
793 case MemoryCardType::Folder:
794 return Mcd::implFolder.GetCRC(combinedSlot);
795 default:
796 return 0;
797 }
798}
799
800void FileMcd_NextFrame(uint port, uint slot)
801{

Callers 1

GetChecksumMethod · 0.85

Calls 2

FileMcd_ConvertToSlotFunction · 0.85
GetCRCMethod · 0.45

Tested by

no test coverage detected