GBA Hardware: Add a little RTC logging
Vicki Pfau vi@endrift.com
Sat, 08 Aug 2020 20:47:41 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/hardware.c
→
src/gba/hardware.c
@@ -238,6 +238,7 @@ hw->rtc.command = command;
hw->rtc.bytesRemaining = RTC_BYTES[RTCCommandDataGetCommand(command)]; hw->rtc.commandActive = hw->rtc.bytesRemaining > 0; + mLOG(GBA_HW, DEBUG, "Got RTC command %x", RTCCommandDataGetCommand(command)); switch (RTCCommandDataGetCommand(command)) { case RTC_RESET: hw->rtc.control = 0;