Merge pull request #3976 from JosJuice/shutdown-clear-codes

PatchEngine: Clear active codes on shutdown
This commit is contained in:
Scott Mansell 2016-07-05 21:13:48 +12:00 committed by GitHub
commit 69bf05b302
1 changed files with 3 additions and 0 deletions

View File

@ -224,6 +224,9 @@ void ApplyFramePatches()
void Shutdown() void Shutdown()
{ {
onFrame.clear(); onFrame.clear();
speedHacks.clear();
ActionReplay::ApplyCodes({});
Gecko::SetActiveCodes({});
} }
} // namespace } // namespace