mirror of https://github.com/mgba-emu/mgba.git
GBA Thread: Revert 0a946a0b43
, it broke vsync
This commit is contained in:
parent
df3f2796f7
commit
c5cf9957a1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue