all repos — mgba @ 32a8a47de67c77579dfb5ce69aad54b9a8afae9d

mGBA Game Boy Advance Emulator

GBA SIO: Fix hanging on starting a second multiplayer window (fixes #854)
Vicki Pfau vi@endrift.com
Sun, 07 Feb 2021 15:07:27 -0800
commit

32a8a47de67c77579dfb5ce69aad54b9a8afae9d

parent

7408ee9c568699fd567d11a52386bd1406f143c2

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -50,6 +50,7 @@ - GBA Serialize: Fix alignment check when loading states

- GBA SIO: Fix copying Normal mode transfer values - GBA SIO: Fix Normal mode being totally broken (fixes mgba.io/i/1800) - GBA SIO: Fix deseralizing SIO registers + - GBA SIO: Fix hanging on starting a second multiplayer window (fixes mgba.io/i/854) - GBA Video: Latch scanline at end of Hblank (fixes mgba.io/i/1319) - GBA Video: Fix Hblank timing - GBA Video: Implement green swap (fixes mgba.io/i/1609)
M src/gba/sio/lockstep.csrc/gba/sio/lockstep.c

@@ -444,6 +444,7 @@ static void _GBASIOLockstepNodeProcessEvents(struct mTiming* timing, void* user, uint32_t cyclesLate) {

struct GBASIOLockstepNode* node = user; mLockstepLock(&node->p->d); if (node->p->d.attached < 2) { + mTimingSchedule(timing, &node->event, GBASIOCyclesPerTransfer[GBASIOMultiplayerGetBaud(node->d.p->siocnt)][0]); mLockstepUnlock(&node->p->d); return; }