Re-replace functions after loading a savestate.

Might need to clear before saving too... anyway, this makes testing a bit
easier for certain areas.

Also, correctly decrease downcount on x86.
This commit is contained in:
Unknown W. Brackets
2014-04-12 15:49:20 -07:00
parent d67f91d899
commit dde2f3ade6
4 changed files with 7 additions and 5 deletions
+4
View File
@@ -440,6 +440,10 @@ void __KernelModuleDoState(PointerWrap &p)
if (s >= 2) {
p.Do(loadedModules);
}
if (g_Config.bFuncHashMap) {
MIPSAnalyst::ReplaceFunctions();
}
}
void __KernelModuleShutdown()