From 3763a054dddc2eaf84cfb33feb292c150845d824 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 10 Apr 2017 14:34:43 +0400 Subject: [PATCH] (ExeFile.InitSectionTable): fixed section name length. --- ArcFormats/ExeFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/ExeFile.cs b/ArcFormats/ExeFile.cs index d55993d3..263a783e 100644 --- a/ArcFormats/ExeFile.cs +++ b/ArcFormats/ExeFile.cs @@ -167,7 +167,7 @@ namespace GameRes.Formats { for (int i = 0; i < count; ++i) { - var name = m_file.View.ReadString (section_table, 0x10); + var name = m_file.View.ReadString (section_table, 8); var section = new Section { Size = m_file.View.ReadUInt32 (section_table+0x10), Offset = m_file.View.ReadUInt32 (section_table+0x14)