diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/NDS.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index 1d7e34a..f67cb84 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -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(); |