From 91be00d42ee6222e03ee3170b3ff2eb16b76685b Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 28 Dec 2009 13:07:59 +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 70ef44d04..3873c3e68 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -153,7 +153,7 @@ bool CommandLine::validate() g_printerr("If either bios-swi is used, bios-arm9 and bios-arm7 must be specified.\n"); } - if(_cflash_image && _gbaslot_rom || _cflash_path && _gbaslot_rom) { + if((_cflash_image && _gbaslot_rom) || (_cflash_path && _gbaslot_rom)) { g_printerr("Cannot specify both cflash and gbaslot rom (both occupy SLOT-2)\n"); }