From e5501e555f9d1fb6c4b56354e57cbf908a3ff0e7 Mon Sep 17 00:00:00 2001 From: kaitou <52998298+kaitouctr@users.noreply.github.com> Date: Wed, 23 Oct 2024 05:13:55 +1100 Subject: [PATCH] fix: set default mode to 24 hours (#2166) --- src/RTC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RTC.cpp b/src/RTC.cpp index fe262644..24e00de7 100644 --- a/src/RTC.cpp +++ b/src/RTC.cpp @@ -40,7 +40,7 @@ RTC::RTC(melonDS::NDS& nds) : NDS(nds) // indicate the power was off // this will be changed if a previously saved RTC state is loaded - State.StatusReg1 = 0x80; + State.StatusReg1 = 0x80 | (1<<1); } RTC::~RTC() @@ -943,4 +943,4 @@ void RTC::Write(u16 val, bool byte) IO = (IO & 0x0001) | (val & 0xFFFE); } -} \ No newline at end of file +}