all repos — mgba @ c5cf9957a163aa44b87078e4dd6949c26cded907

mGBA Game Boy Advance Emulator

GBA Thread: Revert 0a946a0b43bd8afcbb7c425eeacc131a4fc3ccdb, it broke vsync
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Dec 2014 15:55:19 -0800
commit

c5cf9957a163aa44b87078e4dd6949c26cded907

parent

df3f2796f7dca510480755b3952f2033dc1d2097

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/gba-thread.csrc/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;