(ExeFile.InitSectionTable): fixed section name length.

This commit is contained in:
morkt 2017-04-10 14:34:43 +04:00
parent e10094bf8f
commit 3763a054dd

View File

@ -167,7 +167,7 @@ namespace GameRes.Formats
{ {
for (int i = 0; i < count; ++i) 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 { var section = new Section {
Size = m_file.View.ReadUInt32 (section_table+0x10), Size = m_file.View.ReadUInt32 (section_table+0x10),
Offset = m_file.View.ReadUInt32 (section_table+0x14) Offset = m_file.View.ReadUInt32 (section_table+0x14)