mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(SzsOpener): entry count is 32-bit.
This commit is contained in:
parent
7347e5fac5
commit
ef8b4ba06b
@ -44,7 +44,7 @@ namespace GameRes.Formats.Slg
|
||||
int version = file.View.ReadByte (4) - '0';
|
||||
if (version < 0 || !file.View.AsciiEqual (5, "0__"))
|
||||
return null;
|
||||
int count = file.View.ReadInt16 (0xC);
|
||||
int count = file.View.ReadInt32 (0xC);
|
||||
if (!IsSaneCount (count))
|
||||
return null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user