GBA Hardware: Add a little more RTC logging

This commit is contained in:
Vicki Pfau 2020-08-08 20:53:15 -07:00
parent 68800da019
commit d746cb16d6
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}