GBA SIO: Prevent writing read-only multiplayer bits

This commit is contained in:
Vicki Pfau 2019-02-17 22:13:40 -08:00
parent b7965523fd
commit 01a96c6313
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -164,6 +164,7 @@ void GBASIOWriteSIOCNT(struct GBASIO* sio, uint16_t value) {
}
break;
case SIO_MULTI:
value &= 0xFF83;
value |= 0xC;
break;
default: