diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ARM.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp index 4fab60e..9ab9546 100644 --- a/src/ARM.cpp +++ b/src/ARM.cpp @@ -113,7 +113,11 @@ void ARM::DoSavestate(Savestate* file) file->Var32((u32*)&Cycles); //file->Var32((u32*)&CyclesToRun); - file->Var32(&StopExecution); + + // hack to make save states compatible + u32 halted = Halted; + file->Var32(&halted); + Halted = halted; file->VarArray(R, 16*sizeof(u32)); file->Var32(&CPSR); |