From 35773f0c4b8e222cec493390282e5d8907e97b6a Mon Sep 17 00:00:00 2001 From: nitsuja Date: Sun, 1 Nov 2009 20:04:25 +0000 Subject: [PATCH] fix parsing of --num-cores=# option --- 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 399650d49..7383c4a5f 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -73,7 +73,7 @@ void CommandLine::loadCommonOptions() { "bios-arm7", 0, 0, G_OPTION_ARG_FILENAME, &_bios_arm7, "Uses the arm7 bios provided at the specified path", "BIOS_ARM7_PATH"}, { "bios-swi", 0, 0, G_OPTION_ARG_INT, &_bios_swi, "Uses SWI from the provided bios files", "BIOS_SWI"}, #ifdef _MSC_VER - { "num-cores", 0, 0, G_OPTION_ARG_NONE, &_num_cores, "Override numcores detection and use this many", "NUM_CORES"}, + { "num-cores", 0, 0, G_OPTION_ARG_INT, &_num_cores, "Override numcores detection and use this many", "NUM_CORES"}, { "scanline-filter-a", 0, 0, G_OPTION_ARG_INT, &scanline_filter_a, "Intensity of fadeout for scanlines filter (edge) (default 2)", "SCANLINE_FILTER_A"}, { "scanline-filter-b", 0, 0, G_OPTION_ARG_INT, &scanline_filter_b, "Intensity of fadeout for scanlines filter (corner) (default 4)", "SCANLINE_FILTER_B"}, #endif