very useful message /s

This commit is contained in:
Mino 2020-03-27 18:25:12 +09:00
parent 1775122d03
commit 349ba01572
3 changed files with 61 additions and 68 deletions

View file

@ -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
{