mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Fix unitialized memory issue
This commit is contained in:
parent
5e37df6cf5
commit
2bacae3075
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue