Merge pull request #3976 from JosJuice/shutdown-clear-codes
PatchEngine: Clear active codes on shutdown
This commit is contained in:
commit
69bf05b302
|
@ -224,6 +224,9 @@ void ApplyFramePatches()
|
||||||
void Shutdown()
|
void Shutdown()
|
||||||
{
|
{
|
||||||
onFrame.clear();
|
onFrame.clear();
|
||||||
|
speedHacks.clear();
|
||||||
|
ActionReplay::ApplyCodes({});
|
||||||
|
Gecko::SetActiveCodes({});
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue