mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
fix: set default mode to 24 hours (#2166)
This commit is contained in:
parent
fbf753257b
commit
e5501e555f
@ -40,7 +40,7 @@ RTC::RTC(melonDS::NDS& nds) : NDS(nds)
|
|||||||
|
|
||||||
// indicate the power was off
|
// indicate the power was off
|
||||||
// this will be changed if a previously saved RTC state is loaded
|
// this will be changed if a previously saved RTC state is loaded
|
||||||
State.StatusReg1 = 0x80;
|
State.StatusReg1 = 0x80 | (1<<1);
|
||||||
}
|
}
|
||||||
|
|
||||||
RTC::~RTC()
|
RTC::~RTC()
|
||||||
@ -943,4 +943,4 @@ void RTC::Write(u16 val, bool byte)
|
|||||||
IO = (IO & 0x0001) | (val & 0xFFFE);
|
IO = (IO & 0x0001) | (val & 0xFFFE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user