Data: Remove JSON GameDB

This commit is contained in:
Stenzek 2024-02-04 15:39:43 +10:00
parent 8e4b269638
commit a044f703dc
No known key found for this signature in database
2 changed files with 1 additions and 507641 deletions

File diff suppressed because it is too large Load Diff

View File

@ -202,7 +202,7 @@ void GameDatabase::EnsureLoaded()
SaveToCache();
}
Log_InfoFmt("Database load took {:.0f}ms", timer.GetTimeMilliseconds());
Log_InfoFmt("Database load of {} entries took {:.0f}ms.", s_entries.size(), timer.GetTimeMilliseconds());
}
void GameDatabase::Unload()
@ -841,8 +841,6 @@ void GameDatabase::SetRymlCallbacks()
bool GameDatabase::LoadGameDBYaml()
{
Common::Timer timer;
const std::optional<std::string> gamedb_data = Host::ReadResourceFileToString(GAMEDB_YAML_FILENAME, false);
if (!gamedb_data.has_value())
{
@ -871,9 +869,6 @@ bool GameDatabase::LoadGameDBYaml()
}
ryml::reset_callbacks();
Log_InfoFmt("Loaded {} entries and {} codes from database in {:.0f}ms.", s_entries.size(), s_code_lookup.size(),
timer.GetTimeMilliseconds());
return !s_entries.empty();
}