GBA SIO: Fix Dolphin disconnecting
Vicki Pfau vi@endrift.com
Sat, 27 Feb 2021 17:12:03 -0800
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/gba/sio/dolphin.c
→
src/gba/sio/dolphin.c
@@ -97,6 +97,10 @@ }
void GBASIODolphinProcessEvents(struct mTiming* timing, void* context, uint32_t cyclesLate) { struct GBASIODolphin* dol = context; + if (SOCKET_FAILED(dol->data)) { + return; + } + dol->clockSlice -= cyclesLate; int32_t clockSlice;