mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
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:
@ -118,7 +118,7 @@ void DMA::Reset()
|
||||
InProgress = false;
|
||||
}
|
||||
|
||||
void DMA::Savestate(Savestate* file)
|
||||
void DMA::DoSavestate(Savestate* file)
|
||||
{
|
||||
char* magic = "DMAx";
|
||||
magic[3] = '0' + Num + (CPU*4);
|
||||
@ -136,9 +136,9 @@ void DMA::Savestate(Savestate* file)
|
||||
file->Var32(&SrcAddrInc);
|
||||
file->Var32(&DstAddrInc);
|
||||
|
||||
file->Var32(&(u32)Running);
|
||||
file->Var32(&(u32)InProgress);
|
||||
file->Var32(&(u32)IsGXFIFODMA);
|
||||
file->Var32((u32*)&Running);
|
||||
file->Var32((u32*)&InProgress);
|
||||
file->Var32((u32*)&IsGXFIFODMA);
|
||||
}
|
||||
|
||||
void DMA::WriteCnt(u32 val)
|
||||
|
Reference in New Issue
Block a user