diff --git a/pcsx2/R5900.cpp b/pcsx2/R5900.cpp index 118e873d2f..f8db7a8f7b 100644 --- a/pcsx2/R5900.cpp +++ b/pcsx2/R5900.cpp @@ -563,9 +563,8 @@ int ParseArgumentString(u32 arg_block) if (!arg_block) return 0; - int argc = 1; // one arg is guaranteed at least - g_argPtrs[0] = arg_block; // first arg is right here - bool wasSpace = false; // status of last char. scanned + int argc = 0; + bool wasSpace = true; // status of last char. scanned int args_len = strlen((char *)PSM(arg_block)); for (int i = 0; i < args_len; i++) {