diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index a4d1adfcc9..98a6490164 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -321,7 +321,7 @@ void NativeInit(int argc, const char *argv[], if (!strncmp(argv[i], "--state=", strlen("--state=")) && strlen(argv[i]) > strlen("--state=")) stateToLoad = argv[i] + strlen("--state="); #if !defined(MOBILE_DEVICE) - if (!strncmp(__argv[i], "--escape-exit", strlen("--escape-exit"))) + if (!strncmp(argv[i], "--escape-exit", strlen("--escape-exit"))) g_Config.bEscapeExitsEmulator = true; #endif break;