Merge pull request #3535 from RisingFog/cya_savestate_memleak

Properly clear JIT cache on save states
This commit is contained in:
Pierre Bourdon committed 2016-01-20 18:02:25 +01:00
commit e455ca4d58
6 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ namespace JitInterface
void DoState(PointerWrap &p)
{
if (jit && p.GetMode() == PointerWrap::MODE_READ)
jit->GetBlockCache()->Clear();
jit->ClearCache();
}
CPUCoreBase *InitJitCore(int core)
{