mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
remove some UB
- savestates used to read a four bytes from a single byte value - a few unassigned variables - some other things - also make the ROR macro an inline function
This commit is contained in:
@ -237,7 +237,7 @@ void DoSavestate(Savestate* file)
|
||||
|
||||
file->Var64(&USCounter);
|
||||
file->Var64(&USCompare);
|
||||
file->Var32((u32*)&BlockBeaconIRQ14);
|
||||
file->Bool32(&BlockBeaconIRQ14);
|
||||
|
||||
file->Var32(&ComStatus);
|
||||
file->Var32(&TXCurSlot);
|
||||
|
Reference in New Issue
Block a user