mirror of https://github.com/mgba-emu/mgba.git
GBA Hardware: Fix RTC handshake transition (fixes #1134)
This commit is contained in:
parent
f92059bee1
commit
27a5818705
1
CHANGES
1
CHANGES
|
@ -70,6 +70,7 @@ Bugfixes:
|
||||||
- GB, GBA Video: Don't call finishFrame twice in thread proxy
|
- GB, GBA Video: Don't call finishFrame twice in thread proxy
|
||||||
- GB Audio: Fix channel 1, 2 and 4 reset timing
|
- GB Audio: Fix channel 1, 2 and 4 reset timing
|
||||||
- Util: Fix wrapping edge cases in RingFIFO
|
- Util: Fix wrapping edge cases in RingFIFO
|
||||||
|
- GBA Hardware: Fix RTC handshake transition (fixes mgba.io/i/1134)
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Timer: Use global cycles for timers
|
- GBA Timer: Use global cycles for timers
|
||||||
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
|
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
|
||||||
|
|
|
@ -171,7 +171,7 @@ void _rtcReadPins(struct GBACartridgeHardware* hw) {
|
||||||
case 1:
|
case 1:
|
||||||
if ((hw->pinState & 5) == 5) {
|
if ((hw->pinState & 5) == 5) {
|
||||||
hw->rtc.transferStep = 2;
|
hw->rtc.transferStep = 2;
|
||||||
} else {
|
} else if ((hw->pinState & 5) != 1) {
|
||||||
hw->rtc.transferStep = 0;
|
hw->rtc.transferStep = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue