From 7aa7640e879e28a36da8d4b8d550bf488d840fcd Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 22 Dec 2012 09:49:59 -0800 Subject: [PATCH] Add -f switch for parody with Headless. --- Windows/main.cpp | 3 +++ android/jni/NativeApp.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Windows/main.cpp b/Windows/main.cpp index c840312467..b4131d81d9 100644 --- a/Windows/main.cpp +++ b/Windows/main.cpp @@ -75,6 +75,9 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin case 'i': g_Config.iCpuCore = CPU_INTERPRETER; break; + case 'f': + g_Config.iCpuCore = CPU_FASTINTERPRETER; + break; case 'l': showLog = true; break; diff --git a/android/jni/NativeApp.cpp b/android/jni/NativeApp.cpp index 8f6b959cc4..4b749797c1 100644 --- a/android/jni/NativeApp.cpp +++ b/android/jni/NativeApp.cpp @@ -185,6 +185,9 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co case 'j': g_Config.iCpuCore = CPU_JIT; break; + case 'f': + g_Config.iCpuCore = CPU_FASTINTERPRETER; + break; case 'i': g_Config.iCpuCore = CPU_INTERPRETER; break;