From c5cf9957a163aa44b87078e4dd6949c26cded907 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 9 Dec 2014 15:55:19 -0800 Subject: [PATCH] GBA Thread: Revert 0a946a0b43bd8afcbb7c425eeacc131a4fc3ccdb, it broke vsync --- src/gba/gba-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/gba-thread.c b/src/gba/gba-thread.c index 85d73aa5e..e7fc482d5 100644 --- a/src/gba/gba-thread.c +++ b/src/gba/gba-thread.c @@ -611,7 +611,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;