mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -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:
@ -775,7 +775,7 @@ bool DoSavestate(Savestate* file)
|
||||
|
||||
file->Var8(&WRAMCnt);
|
||||
|
||||
file->Var32((u32*)&RunningGame);
|
||||
file->Bool32(&RunningGame);
|
||||
|
||||
if (!file->Saving)
|
||||
{
|
||||
|
Reference in New Issue
Block a user