mirror of https://github.com/mgba-emu/mgba.git
GBA Hardware: Fix RTC overriding light sensor (fixes #1069)
This commit is contained in:
parent
67a135e5e7
commit
82e620dfdc
1
CHANGES
1
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)
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue