mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
chore: turn VEH back on, add DALAMUD_NO_VEH env var
This commit is contained in:
parent
42f124ae24
commit
04bf21af78
1 changed files with 3 additions and 5 deletions
|
|
@ -73,11 +73,10 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
|
|||
|
||||
// ============================== VEH ======================================== //
|
||||
|
||||
/*
|
||||
printf("Initializing VEH... ");
|
||||
if(is_running_on_linux())
|
||||
if(is_running_on_linux() || getenv("DALAMUD_NO_VEH"))
|
||||
{
|
||||
printf("Failed! [Disabled for Wine]\n");
|
||||
printf("VEH was disabled manually!\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -85,7 +84,6 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
|
|||
printf("Done!\n");
|
||||
else printf("Failed!\n");
|
||||
}
|
||||
*/
|
||||
|
||||
// =========================================================================== //
|
||||
|
||||
|
|
@ -108,7 +106,7 @@ BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD dwReason, LPVOID lpRese
|
|||
g_hModule = hModule;
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
//veh::remove_handler();
|
||||
veh::remove_handler();
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue