mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
Merge pull request #2018 from JosJuice/gameini-region-wildcard
Support game INIs that match all regions
This commit is contained in:
commit
95c48b2be7
1342 changed files with 3609 additions and 24289 deletions
|
@ -126,10 +126,7 @@ GameFile::GameFile(const QString& fileName)
|
|||
|
||||
if (m_valid)
|
||||
{
|
||||
IniFile ini;
|
||||
ini.Load(File::GetSysDirectory() + GAMESETTINGS_DIR DIR_SEP + m_unique_id.toStdString() + ".ini");
|
||||
ini.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + m_unique_id.toStdString() + ".ini", true);
|
||||
|
||||
IniFile ini = SCoreStartupParameter::LoadGameIni(m_unique_id.toStdString(), m_revision);
|
||||
std::string issues_temp;
|
||||
ini.GetIfExists("EmuState", "EmulationStateId", &m_emu_state);
|
||||
ini.GetIfExists("EmuState", "EmulationIssues", &issues_temp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue