mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Prevent writing read-only multiplayer bits
This commit is contained in:
parent
b7965523fd
commit
01a96c6313
1
CHANGES
1
CHANGES
|
@ -13,6 +13,7 @@ Bugfixes:
|
|||
- GB Serialize: Fix loading states with negative pixel x (fixes mgba.io/i/1293)
|
||||
- Qt: Fix audio context holding onto closed game controller
|
||||
- Switch: Fix gyroscope orientation (fixes mgba.io/i/1300)
|
||||
- GBA SIO: Prevent writing read-only multiplayer bits
|
||||
Misc:
|
||||
- GBA Savedata: EEPROM performance fixes
|
||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||
|
|
|
@ -164,6 +164,7 @@ void GBASIOWriteSIOCNT(struct GBASIO* sio, uint16_t value) {
|
|||
}
|
||||
break;
|
||||
case SIO_MULTI:
|
||||
value &= 0xFF83;
|
||||
value |= 0xC;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue