mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -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:
@ -102,6 +102,7 @@ GPU2D::~GPU2D()
|
||||
|
||||
void GPU2D::Reset()
|
||||
{
|
||||
Enabled = false;
|
||||
DispCnt = 0;
|
||||
memset(BGCnt, 0, 4*2);
|
||||
memset(BGXPos, 0, 4*2);
|
||||
|
Reference in New Issue
Block a user