mirror of https://github.com/mgba-emu/mgba.git
GBA Hardware: Add a little RTC logging
This commit is contained in:
parent
c2893d641e
commit
68800da019
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue