mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
save battery levels to config
This commit is contained in:
@ -618,7 +618,7 @@ void Reset()
|
||||
Registers[4] = 0x40;
|
||||
|
||||
RegMasks[0] = 0x7F;
|
||||
RegMasks[1] = 0x01;
|
||||
RegMasks[1] = 0x00;
|
||||
RegMasks[2] = 0x01;
|
||||
RegMasks[3] = 0x03;
|
||||
RegMasks[4] = 0x0F;
|
||||
@ -663,6 +663,7 @@ void Write(u8 val, u32 hold)
|
||||
|
||||
if (DataPos == 1)
|
||||
{
|
||||
// TODO: DSi-specific registers in DSi mode
|
||||
u32 regid = Index & 0x07;
|
||||
|
||||
if (Index & 0x80)
|
||||
|
Reference in New Issue
Block a user