diff --git a/src/gba/gba-thread.c b/src/gba/gba-thread.c index 9fcde0032..564fa77ba 100644 --- a/src/gba/gba-thread.c +++ b/src/gba/gba-thread.c @@ -602,7 +602,7 @@ bool GBASyncWaitFrameStart(struct GBASync* sync, int frameskip) { if (!sync->videoFrameOn && !sync->videoFramePending) { return false; } - if (sync->videoFrameOn && !sync->videoFramePending) { + if (sync->videoFrameOn) { ConditionWait(&sync->videoFrameAvailableCond, &sync->videoFrameMutex); } sync->videoFramePending = 0;