don't use DisableProcessWindowsGhosting, it got too bad side-effects
This commit is contained in:
parent
8841285ba9
commit
ab2d86f983
3 changed files with 8 additions and 6 deletions
|
@ -57,11 +57,6 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
|||
g_dbg_exception_handle = add_handler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
|
||||
}
|
||||
|
||||
if (g_config.darkcolony_hack)
|
||||
{
|
||||
DisableProcessWindowsGhosting();
|
||||
}
|
||||
|
||||
char buf[1024];
|
||||
|
||||
if (GetEnvironmentVariable("__COMPAT_LAYER", buf, sizeof(buf)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue