mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
fixed entries skipping in AVC index parser.
This commit is contained in:
parent
3650164c2d
commit
68038edf00
@ -98,7 +98,10 @@ namespace GameRes.Formats.AVC
|
|||||||
while (name_length < 0x100 && 0 != index[index_offset+name_length])
|
while (name_length < 0x100 && 0 != index[index_offset+name_length])
|
||||||
name_length++;
|
name_length++;
|
||||||
if (0 == name_length)
|
if (0 == name_length)
|
||||||
|
{
|
||||||
|
index_offset += 0x113;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
var name = Encodings.cp932.GetString (index, index_offset, name_length);
|
var name = Encodings.cp932.GetString (index, index_offset, name_length);
|
||||||
var entry = FormatCatalog.Instance.CreateEntry (name);
|
var entry = FormatCatalog.Instance.CreateEntry (name);
|
||||||
index_offset += 0x107;
|
index_offset += 0x107;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user