GBA Thread: Revert 0a946a0b43, it broke vsync

This commit is contained in:
Jeffrey Pfau 2014-12-09 15:55:19 -08:00
parent df3f2796f7
commit c5cf9957a1
1 changed files with 1 additions and 1 deletions

View File

@ -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;