GBA Thread: Revert 0a946a0b43, it broke vsync

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

View File

@ -602,7 +602,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;