GBA Thread: Revert 0a946a0b43bd8afcbb7c425eeacc131a4fc3ccdb, it broke vsync
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Dec 2014 15:55:19 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -611,7 +611,7 @@ ConditionWake(&sync->videoFrameRequiredCond);
if (!sync->videoFrameOn && !sync->videoFramePending) { return false; } - if (sync->videoFrameOn && !sync->videoFramePending) { + if (sync->videoFrameOn) { ConditionWait(&sync->videoFrameAvailableCond, &sync->videoFrameMutex); } sync->videoFramePending = 0;