all repos — mgba @ d746cb16d6350c587a4bca70e80be6aaae8c659b

mGBA Game Boy Advance Emulator

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

d746cb16d6350c587a4bca70e80be6aaae8c659b

parent

68800da019f468d64cfbeb1b81b6982e62b5f318

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

jump to
M src/gba/hardware.csrc/gba/hardware.c

@@ -296,6 +296,9 @@ case RTC_RESET:

break; } unsigned output = (outputByte >> hw->rtc.bitsRead) & 1; + if (hw->rtc.bitsRead == 0) { + mLOG(GBA_HW, DEBUG, "RTC output byte %02X", outputByte); + } return output; }