mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Support a gcm revision-specific game ini for cheats + partially fix gecko codes in default ini.
The local ini is not revision-specific because it would require renaming everything. Meh.
This commit is contained in:
parent
1ed06f1dc4
commit
f57ff0a569
25 changed files with 134 additions and 93 deletions
|
@ -81,13 +81,13 @@ void CodeConfigPanel::UpdateCodeList(bool checkRunning)
|
|||
UpdateInfoBox(evt);
|
||||
}
|
||||
|
||||
void CodeConfigPanel::LoadCodes(const IniFile& inifile, const std::string& gameid, bool checkRunning)
|
||||
void CodeConfigPanel::LoadCodes(const IniFile& globalIni, const IniFile& localIni, const std::string& gameid, bool checkRunning)
|
||||
{
|
||||
m_gameid = gameid;
|
||||
|
||||
m_gcodes.clear();
|
||||
if (!checkRunning || Core::IsRunning())
|
||||
Gecko::LoadCodes(inifile, m_gcodes);
|
||||
Gecko::LoadCodes(globalIni, localIni, m_gcodes);
|
||||
|
||||
UpdateCodeList(checkRunning);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue