GBA Hardware: Add a little RTC logging

This commit is contained in:
Vicki Pfau 2020-08-08 20:47:41 -07:00
parent c2893d641e
commit 68800da019
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ void _rtcProcessByte(struct GBACartridgeHardware* hw) {
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;