diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2020-04-26 16:27:26 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-04-26 16:27:26 +0200 |
commit | 47b44a6be81c122eac6fba7903d0ad0e6726ffc3 (patch) | |
tree | c25f6c1e0c10b6747edacb49fe4b2ebcda4c71db /src/ARM.cpp | |
parent | 59c8d3976562ec3ed057f21116b76a3a532bc4d1 (diff) |
fix build with JIT disabled and set default JIT maxblock size to 32
Diffstat (limited to 'src/ARM.cpp')
-rw-r--r-- | src/ARM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp index 32cb91c..95d2b8b 100644 --- a/src/ARM.cpp +++ b/src/ARM.cpp @@ -127,6 +127,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 @@ -134,6 +135,7 @@ void ARM::DoSavestate(Savestate* file) // loaded while running the interpreter FillPipeline(); } +#endif file->VarArray(NextInstr, 2*sizeof(u32)); file->Var32(&ExceptionBase); |