all repos — mgba @ 27a58187051352f01b5b7f876ea6d7e6612edb11

mGBA Game Boy Advance Emulator

GBA Hardware: Fix RTC handshake transition (fixes #1134)
Vicki Pfau vi@endrift.com
Sat, 03 Nov 2018 15:15:02 -0700
commit

27a58187051352f01b5b7f876ea6d7e6612edb11

parent

f92059bee1892a5358b3e9a9d0b5065cae1d1cc0

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -70,6 +70,7 @@ - GB Audio: Fix channel 4 initial LFSR

- 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)
M src/gba/hardware.csrc/gba/hardware.c

@@ -171,7 +171,7 @@ break;

case 1: if ((hw->pinState & 5) == 5) { hw->rtc.transferStep = 2; - } else { + } else if ((hw->pinState & 5) != 1) { hw->rtc.transferStep = 0; } break;