修未知指令的十六进制代码

This commit is contained in:
lanyi 2021-10-19 23:20:09 +02:00
parent 23207b9085
commit 78a7310a3b

View File

@ -136,7 +136,7 @@ namespace AnotherReplayReader.ReplayFile
public static string GetCommandName(byte commandId)
{
return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:2X}";
return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:X2}";
}
public static void UnknownCommandParser(BinaryReader current, byte commandId)