From 86d2e60df78694f9521fa771339c769682b74dc3 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Tue, 3 Jan 2023 18:49:46 +0100 Subject: [PATCH] fix #1593 --- src/ARM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ARM.cpp b/src/ARM.cpp index e19cb002..d87dc1d1 100644 --- a/src/ARM.cpp +++ b/src/ARM.cpp @@ -213,7 +213,7 @@ void ARM::DoSavestate(Savestate* file) file->VarArray(R_UND, 3*sizeof(u32)); file->Var32(&CurInstr); #ifdef JIT_ENABLED - if (!file->Saving && NDS::EnableJIT) + if (file->Saving && NDS::EnableJIT) { // hack, the JIT doesn't really pipeline // but we still want JIT save states to be