Add missing parens.

This commit is contained in:
riccardom 2009-12-28 13:07:59 +00:00
parent aa3cb25961
commit 91be00d42e
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ bool CommandLine::validate()
g_printerr("If either bios-swi is used, bios-arm9 and bios-arm7 must be specified.\n"); 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"); g_printerr("Cannot specify both cflash and gbaslot rom (both occupy SLOT-2)\n");
} }