diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-02 22:42:01 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-02 22:42:01 +0000 |
commit | 966f5052b7b59fc7200eb736c8d393056e0389cd (patch) | |
tree | 25dd11918038eec7866eef9c3b0c3bd7eb188d9c /NorthstarDedicatedTest/dllmain.cpp | |
parent | 3f629680f71b4694bd4eb78726537a91e10a2352 (diff) | |
download | NorthstarLauncher-966f5052b7b59fc7200eb736c8d393056e0389cd.tar.gz NorthstarLauncher-966f5052b7b59fc7200eb736c8d393056e0389cd.zip |
change -waitfordebugger check to use CommandLine()
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index c5a914e5..845749eb 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -52,8 +52,7 @@ BOOL APIENTRY DllMain( HMODULE hModule, void WaitForDebugger(HMODULE baseAddress) { // earlier waitfordebugger call than is in vanilla, just so we can debug stuff a little easier - //if (CommandLine()->CheckParm("-waitfordebugger")) - if (strstr(GetCommandLineA(), "-waitfordebugger")) + if (CommandLine()->CheckParm("-waitfordebugger")) { spdlog::info("waiting for debugger..."); |