Fix frames redrawing in the middle of syncing
Jeffrey Pfau jeffrey@endrift.com
Mon, 01 Sep 2014 00:52:16 -0700
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -577,9 +577,7 @@ ConditionWake(&sync->videoFrameRequiredCond);
if (!sync->videoFrameOn && !sync->videoFramePending) { return false; } - if (!sync->videoFramePending) { - ConditionWait(&sync->videoFrameAvailableCond, &sync->videoFrameMutex); - } + ConditionWait(&sync->videoFrameAvailableCond, &sync->videoFrameMutex); sync->videoFramePending = 0; sync->videoFrameSkip = frameskip; return true;