diff --git a/CHANGES b/CHANGES index cca0ff244..55f2f0805 100644 --- a/CHANGES +++ b/CHANGES @@ -30,6 +30,7 @@ Bugfixes: - 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) diff --git a/src/gba/hardware.c b/src/gba/hardware.c index 13c8c073d..20d342012 100644 --- a/src/gba/hardware.c +++ b/src/gba/hardware.c @@ -167,7 +167,6 @@ void _rtcReadPins(struct GBACartridgeHardware* hw) { if ((hw->pinState & 5) == 1) { hw->rtc.transferStep = 1; } - _outputPins(hw, 1); break; case 1: if ((hw->pinState & 5) == 5) { @@ -175,7 +174,6 @@ void _rtcReadPins(struct GBACartridgeHardware* hw) { } else { hw->rtc.transferStep = 0; } - _outputPins(hw, 5); break; case 2: if (!(hw->pinState & 1)) {