From 25ff222c58d5370c2c29dddcc3da78c11465b8c1 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 31 Mar 2019 21:34:45 -0700 Subject: Updated command line format; updated submodules --- unityplugin/UnityEmulator/src/UnityAppBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unityplugin/UnityEmulator') 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); -- cgit v1.2.3