mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add injector option to not apply any exception handlers (#1541)
* Add injector option to not apply any exception handlers * Log as warning if NoExceptionHandlers is set
This commit is contained in:
parent
70249a4db0
commit
5777745ab3
6 changed files with 18 additions and 37 deletions
|
|
@ -133,7 +133,9 @@ DWORD WINAPI InitializeImpl(LPVOID lpParam, HANDLE hMainThreadContinue) {
|
|||
// ============================== VEH ======================================== //
|
||||
|
||||
logging::I("Initializing VEH...");
|
||||
if (utils::is_running_on_wine()) {
|
||||
if (g_startInfo.NoExceptionHandlers) {
|
||||
logging::W("=> Exception handlers are disabled from DalamudStartInfo.");
|
||||
} else if (utils::is_running_on_wine()) {
|
||||
logging::I("=> VEH was disabled, running on wine");
|
||||
} else if (g_startInfo.BootVehEnabled) {
|
||||
if (veh::add_handler(g_startInfo.BootVehFull, g_startInfo.WorkingDirectory))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue