GBA SIO: Fix lockstep barrier
Jeffrey Pfau jeffrey@endrift.com
Sun, 01 Mar 2015 15:53:09 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/sio/lockstep.c
→
src/gba/sio/lockstep.c
@@ -158,9 +158,9 @@ node->p->multiRecv[i] = 0xFFFF;
} } } + node->p->waiting = 0; ConditionWake(&node->p->barrier); } - --node->p->waiting; if (node->state == LOCKSTEP_FINISHED) { node->d.p->p->memory.io[REG_SIOMULTI0 >> 1] = node->p->multiRecv[0]; node->d.p->p->memory.io[REG_SIOMULTI1 >> 1] = node->p->multiRecv[1];