From bb1f34c2879a878a1e00c2b61efa85bc12a7ccec Mon Sep 17 00:00:00 2001 From: intact Date: Mon, 3 Apr 2017 22:05:48 +0200 Subject: [PATCH] fix jit-size command line option processing --- 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 2832e410d..672d1bb4d 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -241,7 +241,7 @@ bool CommandLine::parse(int argc,char **argv) //sync settings #ifdef HAVE_JIT { "jit-enable", no_argument, &_cpu_mode, 1}, - { "jit-size", required_argument, &_jit_size}, + { "jit-size", required_argument, NULL, OPT_JIT_SIZE }, #endif { "rigorous-timing", no_argument, &_rigorous_timing, 1}, { "advanced-timing", no_argument, &_advanced_timing, 1},