Reset the JIT when loading savestate (#1937)
The effect of this change is simply to call JitEnableWrite(), which is necessary on apple silicon
This commit is contained in:
parent
d1cbc41115
commit
f68f55d002
|
@ -713,15 +713,11 @@ bool NDS::DoSavestate(Savestate* file)
|
|||
|
||||
SPU.SetPowerCnt(PowerControl7 & 0x0001);
|
||||
Wifi.SetPowerCnt(PowerControl7 & 0x0002);
|
||||
}
|
||||
|
||||
#ifdef JIT_ENABLED
|
||||
if (!file->Saving)
|
||||
{
|
||||
JIT.ResetBlockCache();
|
||||
JIT.Memory.Reset();
|
||||
}
|
||||
JIT.Reset();
|
||||
#endif
|
||||
}
|
||||
|
||||
file->Finish();
|
||||
|
||||
|
|
Loading…
Reference in New Issue