GeckoCode: Save installation state to savestates

Because of the way this works, randomly overwriting the handler
when loading a savestate will break things because of the
self-modifying nature of the handler.
This commit is contained in:
EmptyChaos
2016-09-30 16:19:47 +00:00
parent b3547870ee
commit 09372a55da
4 changed files with 39 additions and 16 deletions

View File

@ -260,7 +260,7 @@ void Shutdown()
onFrame.clear();
speedHacks.clear();
ActionReplay::ApplyCodes({});
Gecko::SetActiveCodes({});
Gecko::Shutdown();
}
} // namespace