mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Use CoreParameter's game INI functions in more places
This commit is contained in:
parent
e186104960
commit
f9d6c17c08
7 changed files with 51 additions and 51 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