#383 add support for Dark Colony
This commit is contained in:
parent
d45f35ab57
commit
f4325a73f5
6 changed files with 22 additions and 1 deletions
|
@ -57,6 +57,11 @@ 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