GBA Hardware: Fix RTC overriding light sensor (fixes #1069)

This commit is contained in:
Vicki Pfau 2018-04-29 20:18:45 -07:00
parent 2ca9d85d85
commit 5d72e6c753
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,7 @@
0.6.4:
Bugfixes:
- GBA Video: Mark OAM dirty on reset (fixes mgba.io/i/1062)
- GBA Hardware: Fix RTC overriding light sensor (fixes mgba.io/i/1069)
0.6.3: (2017-04-14)
Bugfixes:

View File

@ -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)) {