mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
additional check to avoid false positives.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user