Properly clear JIT cache on save states

This commit is contained in:
Chris Burgener
2016-01-19 19:29:19 -05:00
parent 5db10d83f7
commit a7a744d33c
6 changed files with 20 additions and 2 deletions

View File

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