mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
TitleDatabase: Don't merge multiple languages into same map
Instead of selecting languages based on the user config at the time of TitleDatabase creation and merging the different languages into one map for GC and one map for Wii, have one map for each language, and have the caller supply the language they want. This makes us not need the IsGCTitle function, which is inaccurate for IDs that start with D.
This commit is contained in:
parent
8842a0f402
commit
9df763b4ac
6 changed files with 91 additions and 133 deletions
|
@ -749,7 +749,7 @@ void SConfig::SetRunningGameMetadata(const std::string& game_id, const std::stri
|
|||
}
|
||||
|
||||
const Core::TitleDatabase title_database;
|
||||
m_title_description = title_database.Describe(m_gametdb_id);
|
||||
m_title_description = title_database.Describe(m_gametdb_id, GetCurrentLanguage(bWii));
|
||||
NOTICE_LOG(CORE, "Active title: %s", m_title_description.c_str());
|
||||
|
||||
Config::AddLayer(ConfigLoaders::GenerateGlobalGameConfigLoader(game_id, revision));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue