From ffb0c189e420454465d1a95f77f3d52c2b6cc721 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 31 Oct 2009 16:58:25 +0000 Subject: [PATCH] Add missing parens. --- desmume/src/commandline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/commandline.cpp b/desmume/src/commandline.cpp index 32a6549d8..aa6702c6d 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -138,7 +138,7 @@ bool CommandLine::validate() return false; } - if(_bios_arm9 && !_bios_arm7 || _bios_arm7 && !_bios_arm9) { + if((_bios_arm9 && !_bios_arm7) || (_bios_arm7 && !_bios_arm9)) { g_printerr("If either bios-arm7 or bios-arm9 are specified, both must be.\n"); return false; }