Add AR Code Whitelist Approval

This commit is contained in:
LillyJadeKatrin
2024-09-08 08:44:30 -04:00
parent 13a1956cfa
commit 3c255b55e8
7 changed files with 62 additions and 13 deletions

View File

@ -198,7 +198,7 @@ void LoadPatches()
else
{
Gecko::SetActiveCodes(Gecko::LoadCodes(globalIni, localIni), sconfig.GetGameID());
ActionReplay::LoadAndApplyCodes(globalIni, localIni);
ActionReplay::LoadAndApplyCodes(globalIni, localIni, sconfig.GetGameID());
}
}
@ -335,7 +335,7 @@ bool ApplyFramePatches(Core::System& system)
void Shutdown()
{
s_on_frame.clear();
ActionReplay::ApplyCodes({});
ActionReplay::ApplyCodes({}, "");
Gecko::Shutdown();
}