mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 20:24:16 +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 ======================================== //
|
// ============================== VEH ======================================== //
|
||||||
|
|
||||||
/*
|
|
||||||
printf("Initializing 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
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -85,7 +84,6 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
|
||||||
printf("Done!\n");
|
printf("Done!\n");
|
||||||
else printf("Failed!\n");
|
else printf("Failed!\n");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
// =========================================================================== //
|
// =========================================================================== //
|
||||||
|
|
||||||
|
|
@ -108,7 +106,7 @@ BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD dwReason, LPVOID lpRese
|
||||||
g_hModule = hModule;
|
g_hModule = hModule;
|
||||||
break;
|
break;
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
//veh::remove_handler();
|
veh::remove_handler();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue