mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
additional check to avoid false positives.
This commit is contained in:
parent
0183e8be52
commit
3d4b74e34a
@ -52,6 +52,8 @@ namespace GameRes.Formats.KAAS
|
||||
return null;
|
||||
int key = file.View.ReadByte (1);
|
||||
int count = 0xfff & file.View.ReadUInt16 (index_offset);
|
||||
if (0 == count)
|
||||
return null;
|
||||
index_offset += 16;
|
||||
|
||||
byte[] index = new byte[count*8];
|
||||
|
Loading…
x
Reference in New Issue
Block a user