GBA Hardware: Fix RTC overriding light sensor (fixes #1069)
Vicki Pfau vi@endrift.com
Sun, 29 Apr 2018 20:18:45 -0700
2 files changed,
1 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -30,6 +30,7 @@ - GBA Video: Add delay when enabling BGs (fixes mgba.io/i/744, mgba.io/i/752)
- GB Timer: Minor accuracy improvements - GB Audio: Clock frame events on DIV - GBA Timer: Fix timers sometimes being late (fixes mgba.io/i/1012) + - GBA Hardware: Fix RTC overriding light sensor (fixes mgba.io/i/1069) 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.c
→
src/gba/hardware.c
@@ -167,7 +167,6 @@ case 0:
if ((hw->pinState & 5) == 1) { hw->rtc.transferStep = 1; } - _outputPins(hw, 1); break; case 1: if ((hw->pinState & 5) == 5) {@@ -175,7 +174,6 @@ hw->rtc.transferStep = 2;
} else { hw->rtc.transferStep = 0; } - _outputPins(hw, 5); break; case 2: if (!(hw->pinState & 1)) {