mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
make savestates 100% compatible again
This commit is contained in:
@ -159,7 +159,11 @@ void ARM::DoSavestate(Savestate* file)
|
|||||||
|
|
||||||
file->Var32((u32*)&Cycles);
|
file->Var32((u32*)&Cycles);
|
||||||
//file->Var32((u32*)&CyclesToRun);
|
//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->VarArray(R, 16*sizeof(u32));
|
||||||
file->Var32(&CPSR);
|
file->Var32(&CPSR);
|
||||||
|
Reference in New Issue
Block a user