mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 17:05:37 +08:00
(ExeFile.InitSectionTable): fixed section name length.
This commit is contained in:
parent
e10094bf8f
commit
3763a054dd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user