From 3cdc2ed4ac789345e40682dda089d72c8e81385b Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 24 Apr 2010 23:28:31 +0000 Subject: [PATCH] Backport r3548 from trunk, add missing parens. --- desmume/src/NDSSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }