mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-13 03:29:24 +00:00
ActionReplay: Fix ISOProperties corrupting active code set
ISOProperties loads codes using ActionReplay::LoadCodes which actually applies the codes to the global state. If a game is running then that games receives all the codes (and ACTIVE status) from the second game being shown in ISOProperties which is not desirable.
This commit is contained in:
parent
0fa9233c1a
commit
25b072ff2b
9 changed files with 124 additions and 45 deletions
|
@ -166,7 +166,7 @@ void LoadPatches()
|
|||
IniFile localIni = SConfig::GetInstance().LoadLocalGameIni();
|
||||
|
||||
LoadPatchSection("OnFrame", onFrame, globalIni, localIni);
|
||||
ActionReplay::LoadCodes(globalIni, localIni, false);
|
||||
ActionReplay::LoadAndApplyCodes(globalIni, localIni);
|
||||
|
||||
// lil silly
|
||||
std::vector<Gecko::GeckoCode> gcodes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue