Merge pull request #3535 from RisingFog/cya_savestate_memleak
Properly clear JIT cache on save states
This commit is contained in:
commit
e455ca4d58
6 files changed
+20
-2
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user