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

Method GetEntryBySerialAndCRC

pcsx2/GameList.cpp:849–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849const GameList::Entry* GameList::GetEntryBySerialAndCRC(const std::string_view serial, u32 crc)
850{
851 for (const Entry& entry : s_entries)
852 {
853 if (entry.crc == crc && StringUtil::compareNoCase(entry.serial, serial))
854 return &entry;
855 }
856
857 return nullptr;
858}
859
860u32 GameList::GetEntryCount()
861{

Callers

nothing calls this directly

Calls 1

compareNoCaseFunction · 0.85

Tested by

no test coverage detected