mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Prevent writing read-only multiplayer bits
This commit is contained in:
parent
8a57f9489a
commit
830e52fa67
1
CHANGES
1
CHANGES
|
@ -7,6 +7,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 Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
||||
|
||||
|
|
|
@ -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