fix: set default mode to 24 hours (#2166)

This commit is contained in:
kaitou 2024-10-23 05:13:55 +11:00 committed by GitHub
parent fbf753257b
commit e5501e555f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
} }
} }