GBA Hardware: Fix RTC handshake transition (fixes #1134)

This commit is contained in:
Vicki Pfau 2018-11-03 15:15:02 -07:00
parent f92059bee1
commit 27a5818705
2 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ Bugfixes:
- GB, GBA Video: Don't call finishFrame twice in thread proxy
- GB Audio: Fix channel 1, 2 and 4 reset timing
- Util: Fix wrapping edge cases in RingFIFO
- GBA Hardware: Fix RTC handshake transition (fixes mgba.io/i/1134)
Misc:
- GBA Timer: Use global cycles for timers
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)

View File

@ -171,7 +171,7 @@ void _rtcReadPins(struct GBACartridgeHardware* hw) {
case 1:
if ((hw->pinState & 5) == 5) {
hw->rtc.transferStep = 2;
} else {
} else if ((hw->pinState & 5) != 1) {
hw->rtc.transferStep = 0;
}
break;