melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
2.99k stars 497 forks source link

Reset the JIT when loading savestate #1937

Closed warmenhoven closed 6 months ago

warmenhoven commented 6 months ago

The effect of this change is simply to call JitEnableWrite(), which is necessary on apple silicon

RSDuck commented 6 months ago

hm looks like the call of ResetBlockCache in DoSavestate is older than the ARMJIT::Reset function.

JesseTG commented 6 months ago

hm looks like the call of ResetBlockCache in DoSavestate is older than the ARMJIT::Reset function.

What does that imply?

RSDuck commented 6 months ago

that is the reason DoSavestate didn't use Reset before the PR.