aboutsummaryrefslogtreecommitdiff
path: root/src/ARM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARM.cpp')
-rw-r--r--src/ARM.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp
index 3eac74d..6b8df30 100644
--- a/src/ARM.cpp
+++ b/src/ARM.cpp
@@ -173,6 +173,7 @@ void ARM::DoSavestate(Savestate* file)
file->VarArray(R_IRQ, 3*sizeof(u32));
file->VarArray(R_UND, 3*sizeof(u32));
file->Var32(&CurInstr);
+#ifdef JIT_ENABLED
if (!file->Saving && Config::JIT_Enable)
{
// hack, the JIT doesn't really pipeline
@@ -180,6 +181,7 @@ void ARM::DoSavestate(Savestate* file)
// loaded while running the interpreter
FillPipeline();
}
+#endif
file->VarArray(NextInstr, 2*sizeof(u32));
file->Var32(&ExceptionBase);