diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 3552f9195..8665fce09 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1484,7 +1484,7 @@ static void execHardware_hstart() //this should be 214, but we are going to be generous for games with tight timing //they shouldnt be changing any textures at 262 but they might accidentally still be at 214 //so.. - if(CommonSettings.rigorous_timing && nds.VCount==214 || !CommonSettings.rigorous_timing && nds.VCount==262) + if((CommonSettings.rigorous_timing && nds.VCount==214) || (!CommonSettings.rigorous_timing && nds.VCount==262)) { gfx3d_VBlankEndSignal(frameSkipper.ShouldSkip3D()); }