mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Merge pull request #2018 from JosJuice/gameini-region-wildcard
Support game INIs that match all regions
This commit is contained in:
@ -96,16 +96,7 @@ bool BootCore(const std::string& _rFilename)
|
||||
return false;
|
||||
|
||||
// Load game specific settings
|
||||
std::string unique_id = StartUp.GetUniqueID();
|
||||
std::string revision_specific = StartUp.m_strRevisionSpecificUniqueID;
|
||||
StartUp.m_strGameIniDefault = File::GetSysDirectory() + GAMESETTINGS_DIR DIR_SEP + unique_id + ".ini";
|
||||
if (revision_specific != "")
|
||||
StartUp.m_strGameIniDefaultRevisionSpecific = File::GetSysDirectory() + GAMESETTINGS_DIR DIR_SEP + revision_specific + ".ini";
|
||||
else
|
||||
StartUp.m_strGameIniDefaultRevisionSpecific = "";
|
||||
StartUp.m_strGameIniLocal = File::GetUserPath(D_GAMESETTINGS_IDX) + unique_id + ".ini";
|
||||
|
||||
if (unique_id.size() == 6)
|
||||
if (StartUp.GetUniqueID().size() == 6)
|
||||
{
|
||||
IniFile game_ini = StartUp.LoadGameIni();
|
||||
|
||||
|
Reference in New Issue
Block a user