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

Method findGame

pcsx2/GameDatabase.cpp:1074–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072}
1073
1074const GameDatabaseSchema::GameEntry* GameDatabase::findGame(const std::string_view serial)
1075{
1076 GameDatabase::ensureLoaded();
1077
1078 auto iter = s_game_db.find(StringUtil::toLower(serial));
1079 return (iter != s_game_db.end()) ? &iter->second : nullptr;
1080}
1081
1082bool GameDatabase::TrackHash::parseHash(const std::string_view str)
1083{

Callers

nothing calls this directly

Calls 3

toLowerFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected