Merge pull request #3535 from RisingFog/cya_savestate_memleak

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

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)
{