From 2bacae3075d4191c26d0f66e40da7ae360923bf8 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 16 Nov 2019 12:16:47 -0800 Subject: [PATCH] GBA SIO: Fix unitialized memory issue --- src/gba/sio/lockstep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/sio/lockstep.c b/src/gba/sio/lockstep.c index 506854a7e..d4392f47e 100644 --- a/src/gba/sio/lockstep.c +++ b/src/gba/sio/lockstep.c @@ -47,6 +47,7 @@ bool GBASIOLockstepAttachNode(struct GBASIOLockstep* lockstep, struct GBASIOLock lockstep->players[lockstep->d.attached] = node; node->p = lockstep; node->id = lockstep->d.attached; + node->transferFinished = true; ++lockstep->d.attached; return true; }