all repos — mgba @ 68800da019f468d64cfbeb1b81b6982e62b5f318

mGBA Game Boy Advance Emulator

GBA Hardware: Add a little RTC logging
Vicki Pfau vi@endrift.com
Sat, 08 Aug 2020 20:47:41 -0700
commit

68800da019f468d64cfbeb1b81b6982e62b5f318

parent

c2893d641e6c18496d1637f8d729ee5f1d3b1b4d

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gba/hardware.csrc/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;