| 1062 | } |
| 1063 | |
| 1064 | void GameDatabase::ensureLoaded() |
| 1065 | { |
| 1066 | std::call_once(s_load_once_flag, []() { |
| 1067 | Common::Timer timer; |
| 1068 | Console.WriteLn(fmt::format("GameDB: Has not been initialized yet, initializing...")); |
| 1069 | initDatabase(); |
| 1070 | Console.WriteLn("GameDB: %zu games on record (loaded in %.2fms)", s_game_db.size(), timer.GetTimeMilliseconds()); |
| 1071 | }); |
| 1072 | } |
| 1073 | |
| 1074 | const GameDatabaseSchema::GameEntry* GameDatabase::findGame(const std::string_view serial) |
| 1075 | { |
nothing calls this directly
no test coverage detected