From 2dd81387c56f2bf1d70f5f6903463e82e9141b66 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Fri, 19 Apr 2013 11:39:23 +0000 Subject: [PATCH] - oops, sorry. copy/paste error :) --- 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 426dd7817..ee3a2c75b 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -251,7 +251,7 @@ bool CommandLine::validate() if (_cpu_mode < -1 || _cpu_mode > 1) { g_printerr("Invalid cpu mode emulation (0 - interpreter, 1 - dynarec)\n"); } - if (_cpu_mode != -1 && (_jit_size < 1 || _jit_size > 100)) { + if (_jit_size < -1 && (_jit_size == 0 || _jit_size > 100)) { g_printerr("Invalid jit block size [1..100]. set to 100\n"); } #endif