mirror of https://github.com/mgba-emu/mgba.git
GBA I/O: Update KEYINPUT in internal I/O memory (fixes #2235)
This commit is contained in:
parent
b4f4f2b0fa
commit
511a061ab0
1
CHANGES
1
CHANGES
|
@ -30,6 +30,7 @@ Other fixes:
|
|||
- Qt: Fix corrupted savestate and fatal error text
|
||||
Misc:
|
||||
- Core: Suspend runloop when a core crashes
|
||||
- GBA I/O: Update KEYINPUT in internal I/O memory (fixes mgba.io/i/2235)
|
||||
- mGUI: Add margin to right-aligned menu text (fixes mgba.io/i/871)
|
||||
- Qt: Rearrange menus some
|
||||
- Qt: Clean up cheats dialog
|
||||
|
|
|
@ -763,8 +763,9 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
|
|||
}
|
||||
}
|
||||
}
|
||||
return 0x3FF ^ input;
|
||||
gba->memory.io[address >> 1] = 0x3FF ^ input;
|
||||
}
|
||||
break;
|
||||
case REG_SIOCNT:
|
||||
return gba->sio.siocnt;
|
||||
case REG_RCNT:
|
||||
|
|
Loading…
Reference in New Issue