savestate shito: fix compile errors.

still far from being finished, so avoid using unless you want to spawn blackholes or some pretty bad shit.
This commit is contained in:
StapleButter
2018-10-18 00:27:55 +02:00
parent 7cbcc6c230
commit de91eabf71
8 changed files with 20 additions and 20 deletions

View File

@ -161,12 +161,12 @@ void ARM::Reset()
JumpTo(ExceptionBase);
}
void ARM::Savestate(Savestate* file)
void ARM::DoSavestate(Savestate* file)
{
file->Section(Num ? "ARM7" : "ARM9");
file->Section((char*)(Num ? "ARM7" : "ARM9"));
file->Var32(&(u32)Cycles);
file->Var32(&(u32)CyclesToRun);
file->Var32((u32*)&Cycles);
file->Var32((u32*)&CyclesToRun);
file->Var32(&Halted);
file->VarArray(R, 16*sizeof(u32));