mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 10:39:45 -06:00
Merge pull request #3535 from RisingFog/cya_savestate_memleak
Properly clear JIT cache on save states
This commit is contained in:
@ -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