From 78a7310a3b54932d5509b64da57bb295f44c9078 Mon Sep 17 00:00:00 2001 From: lanyi Date: Tue, 19 Oct 2021 23:20:09 +0200 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=9C=AA=E7=9F=A5=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=E7=9A=84=E5=8D=81=E5=85=AD=E8=BF=9B=E5=88=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReplayFile/CommandChunk.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReplayFile/CommandChunk.cs b/ReplayFile/CommandChunk.cs index 2a6d0e5..b18336b 100644 --- a/ReplayFile/CommandChunk.cs +++ b/ReplayFile/CommandChunk.cs @@ -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)