mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Support DirectX debugging injector cmdline
This commit is contained in:
parent
faf61477c7
commit
6bf264acf0
5 changed files with 76 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ namespace Dalamud.Injector
|
|||
|
||||
startInfo = ExtractAndInitializeStartInfoFromArguments(startInfo, args);
|
||||
// Remove already handled arguments
|
||||
args.Remove("--debug-directx");
|
||||
args.Remove("--console");
|
||||
args.Remove("--msgbox1");
|
||||
args.Remove("--msgbox2");
|
||||
|
|
@ -396,6 +397,7 @@ namespace Dalamud.Injector
|
|||
startInfo.LogName ??= string.Empty;
|
||||
|
||||
// Set boot defaults
|
||||
startInfo.BootDebugDirectX = args.Contains("--debug-directx");
|
||||
startInfo.BootShowConsole = args.Contains("--console");
|
||||
startInfo.BootEnableEtw = args.Contains("--etw");
|
||||
startInfo.BootLogPath = GetLogPath(startInfo.LogPath, "dalamud.boot", startInfo.LogName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue