diff --git a/src/gba/gba-thread.c b/src/gba/gba-thread.c index ecab5294f..1cf9006c5 100644 --- a/src/gba/gba-thread.c +++ b/src/gba/gba-thread.c @@ -365,6 +365,7 @@ void GBAThreadEnd(struct GBAThread* threadContext) { threadContext->sync.videoFrameWait = false; threadContext->sync.videoFrameOn = false; ConditionWake(&threadContext->sync.videoFrameRequiredCond); + ConditionWake(&threadContext->sync.videoFrameAvailableCond); MutexUnlock(&threadContext->sync.videoFrameMutex); }