From 858c94e5eeae202dc245f700994d3ec0f3d8c6a3 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 21 Jan 2024 17:42:55 -0800 Subject: [PATCH] GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs (fixes #3110) --- CHANGES | 2 ++ src/gba/sio/lockstep.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index da2d4fd60..c8d4ed8e7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,6 @@ 0.10.4: (Future) +Emulation fixes: + - GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs (fixes mgba.io/i/3110) Misc: - Vita: Add imc0 and xmc0 mount point support diff --git a/src/gba/sio/lockstep.c b/src/gba/sio/lockstep.c index 10f1d7f00..6b8de728e 100644 --- a/src/gba/sio/lockstep.c +++ b/src/gba/sio/lockstep.c @@ -213,8 +213,6 @@ static uint16_t GBASIOLockstepNodeMultiWriteRegister(struct GBASIODriver* driver mTimingDeschedule(&driver->p->p->timing, &node->event); } mTimingSchedule(&driver->p->p->timing, &node->event, 0); - } else { - value &= ~0x0080; } } value &= 0xFF83;