summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/GameList/GameFile.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-02-07 21:27:26 +0100
committerJosJuice <josjuice@gmail.com>2015-02-11 19:01:05 +0100
commitf9d6c17c08f0aca5ac9f72432e5de780d50bafdf (patch)
tree214e5da24ad8eecbc7fb93397f5a42827b08710f /Source/Core/DolphinQt/GameList/GameFile.cpp
parente186104960ce11bb52b30cebfb8ab08d036c8816 (diff)
Use CoreParameter's game INI functions in more places
Diffstat (limited to 'Source/Core/DolphinQt/GameList/GameFile.cpp')
-rw-r--r--Source/Core/DolphinQt/GameList/GameFile.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameFile.cpp b/Source/Core/DolphinQt/GameList/GameFile.cpp
index f8601d05e6..a5216b4ead 100644
--- a/Source/Core/DolphinQt/GameList/GameFile.cpp
+++ b/Source/Core/DolphinQt/GameList/GameFile.cpp
@@ -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);