mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fetch win32 error codes on remote LoadLibrary/GetProcAddress calls (#816)
* Fetch win32 error codes on remote LoadLibrary/GetProcAddress calls * Fix out of index exc
This commit is contained in:
parent
4d7b3bca9c
commit
eb2197132e
2 changed files with 26 additions and 30 deletions
|
|
@ -48,7 +48,7 @@ namespace Dalamud.Injector
|
|||
args.Add(Marshal.PtrToStringUni(argv[i]));
|
||||
}
|
||||
|
||||
if (args[1].ToLowerInvariant() == "launch-test")
|
||||
if (args.Count >= 2 && args[1].ToLowerInvariant() == "launch-test")
|
||||
{
|
||||
Environment.Exit(ProcessLaunchTestCommand(args));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue