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
d6ad731ebe
commit
aceb1dff97
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Other fixes:
|
|||
- Qt: Fix corrupted savestate and fatal error text
|
||||
- Qt: Fix sprite compositing when sprite tiles go out of bounds (fixes mgba.io/i/2348)
|
||||
Misc:
|
||||
- GBA I/O: Update KEYINPUT in internal I/O memory (fixes mgba.io/i/2235)
|
||||
- SDL: Use SDL_JoystickRumble where available
|
||||
- Wii: Add adjustable gyroscope settings (closes mgba.io/i/2245)
|
||||
|
||||
|
|
|
@ -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