don't use DisableProcessWindowsGhosting, it got too bad side-effects

This commit is contained in:
FunkyFr3sh 2025-01-16 06:29:04 +01:00
parent 8841285ba9
commit ab2d86f983
3 changed files with 8 additions and 6 deletions

View file

@ -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)))