From 3587dbad50e4987a2c93350c759e15dd3037911a Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 20 Apr 2010 17:16:36 +0000 Subject: [PATCH] Add missing parens, spotted by gcc. --- 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 179a87355..4319959b9 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1509,7 +1509,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()); }