(Circus): archive entry name length variation.

This commit is contained in:
morkt 2017-12-21 04:32:22 +04:00
parent 2aa471bc5f
commit 69133943c9

View File

@ -50,7 +50,9 @@ namespace GameRes.Formats.Circus
int count = file.View.ReadInt32 (0); int count = file.View.ReadInt32 (0);
if (count <= 1 || count > 0xfffff) if (count <= 1 || count > 0xfffff)
return null; return null;
var dir = ReadIndex (file, count, 0x30); var dir = ReadIndex (file, count, 0x24);
if (null == dir)
dir = ReadIndex (file, count, 0x30);
if (null == dir) if (null == dir)
dir = ReadIndex (file, count, 0x3C); dir = ReadIndex (file, count, 0x3C);
if (null == dir) if (null == dir)