summaryrefslogtreecommitdiffstats
path: root/unityplugin/UnityEmulator
diff options
context:
space:
mode:
Diffstat (limited to 'unityplugin/UnityEmulator')
-rw-r--r--unityplugin/UnityEmulator/src/UnityAppBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unityplugin/UnityEmulator/src/UnityAppBase.cpp b/unityplugin/UnityEmulator/src/UnityAppBase.cpp
index 3dd6c59..8ef10db 100644
--- a/unityplugin/UnityEmulator/src/UnityAppBase.cpp
+++ b/unityplugin/UnityEmulator/src/UnityAppBase.cpp
@@ -65,8 +65,8 @@ UnityAppBase::~UnityAppBase()
void UnityAppBase::ProcessCommandLine(const char *CmdLine)
{
- const auto* Key = "mode=";
- const auto *pos = strstr(CmdLine, Key);
+ const auto* Key = "-mode ";
+ const auto* pos = strstr(CmdLine, Key);
if (pos != nullptr)
{
pos += strlen(Key);