From d746cb16d6350c587a4bca70e80be6aaae8c659b Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 8 Aug 2020 20:53:15 -0700 Subject: [PATCH] GBA Hardware: Add a little more RTC logging --- src/gba/hardware.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gba/hardware.c b/src/gba/hardware.c index 1b8989bc2..a2c59ddc6 100644 --- a/src/gba/hardware.c +++ b/src/gba/hardware.c @@ -296,6 +296,9 @@ unsigned _rtcOutput(struct GBACartridgeHardware* hw) { break; } unsigned output = (outputByte >> hw->rtc.bitsRead) & 1; + if (hw->rtc.bitsRead == 0) { + mLOG(GBA_HW, DEBUG, "RTC output byte %02X", outputByte); + } return output; }