mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
very useful message /s
This commit is contained in:
parent
1775122d03
commit
349ba01572
3 changed files with 61 additions and 68 deletions
|
|
@ -140,7 +140,7 @@ namespace Dalamud.Bootstrap
|
|||
}
|
||||
}
|
||||
|
||||
public string[] ReadCommandLine()
|
||||
public string[] ReadArguments()
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
|
@ -151,7 +151,8 @@ namespace Dalamud.Bootstrap
|
|||
|
||||
// Read the command line (which is utf16-like string)
|
||||
var commandLine = ReadMemoryExact(procParam.CommandLine.Buffer, procParam.CommandLine.Length);
|
||||
return ParseCommandLine(commandLine);
|
||||
|
||||
return ParseCommandLineToArguments(commandLine);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -173,7 +174,7 @@ namespace Dalamud.Bootstrap
|
|||
}
|
||||
}
|
||||
|
||||
private string[] ParseCommandLine(ReadOnlySpan<byte> commandLine)
|
||||
private string[] ParseCommandLineToArguments(ReadOnlySpan<byte> commandLine)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue