SDL port: Turn the JIT on and off from command line

This commit is contained in:
Henrik Rydgård 2012-12-05 13:55:24 +07:00
parent e1aa287ab7
commit 0bc1d4cdf3

View File

@ -182,6 +182,12 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
case 'g':
gfxLog = true;
break;
case 'j':
g_Config.iCpuCore = CPU_JIT;
break;
case 'i':
g_Config.iCpuCore = CPU_INTERPRETER;
break;
}
} else {
if (boot_filename.empty()) {