mirror of https://github.com/x64dbg/GleeBug
Respect UE_ENGINE_NO_CONSOLE_WINDOW flag
This commit is contained in:
parent
c4fa827120
commit
2cc003cdcf
|
|
@ -40,7 +40,9 @@ namespace GleeBug
|
|||
|
||||
auto creationFlags = DEBUG_PROCESS;
|
||||
creationFlags |= DEBUG_ONLY_THIS_PROCESS; // TODO: support child process debugging
|
||||
if(newConsole)
|
||||
if(mNoConsoleWindow)
|
||||
creationFlags |= CREATE_NO_WINDOW;
|
||||
else if(newConsole)
|
||||
creationFlags |= CREATE_NEW_CONSOLE;
|
||||
if(startSuspended)
|
||||
creationFlags |= CREATE_SUSPENDED;
|
||||
|
|
|
|||
|
|
@ -294,6 +294,7 @@ namespace GleeBug
|
|||
bool mAttachedToProcess = false;
|
||||
bool mSafeStep = true;
|
||||
bool mDisableAslr = false;
|
||||
bool mNoConsoleWindow = false;
|
||||
|
||||
/**
|
||||
\brief The current process (can be null in some cases).
|
||||
|
|
|
|||
|
|
@ -199,6 +199,9 @@ public:
|
|||
case UE_ENGINE_DISABLE_ASLR:
|
||||
mDisableAslr = VariableSet;
|
||||
break;
|
||||
case UE_ENGINE_NO_CONSOLE_WINDOW:
|
||||
mNoConsoleWindow = VariableSet;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue