all repos — mgba @ 82e620dfdc26267108ac331d679b3c68195a7367

mGBA Game Boy Advance Emulator

GBA Hardware: Fix RTC overriding light sensor (fixes #1069)
Vicki Pfau vi@endrift.com
Sun, 29 Apr 2018 20:18:45 -0700
commit

82e620dfdc26267108ac331d679b3c68195a7367

parent

67a135e5e7a5d6366f516972f25e7c71bff91447

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

jump to
M CHANGESCHANGES

@@ -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.csrc/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)) {