GBA SIO: Fix unitialized memory issue

This commit is contained in:
Vicki Pfau 2019-11-16 12:16:47 -08:00
parent 5e37df6cf5
commit 2bacae3075
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ bool GBASIOLockstepAttachNode(struct GBASIOLockstep* lockstep, struct GBASIOLock
lockstep->players[lockstep->d.attached] = node; lockstep->players[lockstep->d.attached] = node;
node->p = lockstep; node->p = lockstep;
node->id = lockstep->d.attached; node->id = lockstep->d.attached;
node->transferFinished = true;
++lockstep->d.attached; ++lockstep->d.attached;
return true; return true;
} }