fix build with JIT disabled and set default JIT maxblock size to 32

This commit is contained in:
RSDuck
2020-04-26 16:27:26 +02:00
parent dc86bac83d
commit 6d217e1010
4 changed files with 9 additions and 3 deletions

View File

@ -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);