From 68038edf0006f5a38969d2d0177a7d0a6ac691f3 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 6 Apr 2015 17:06:31 +0400 Subject: [PATCH] fixed entries skipping in AVC index parser. --- ArcFormats/ArcAVC.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArcFormats/ArcAVC.cs b/ArcFormats/ArcAVC.cs index 2536de1a..3a78c358 100644 --- a/ArcFormats/ArcAVC.cs +++ b/ArcFormats/ArcAVC.cs @@ -98,7 +98,10 @@ namespace GameRes.Formats.AVC while (name_length < 0x100 && 0 != index[index_offset+name_length]) name_length++; if (0 == name_length) + { + index_offset += 0x113; continue; + } var name = Encodings.cp932.GetString (index, index_offset, name_length); var entry = FormatCatalog.Instance.CreateEntry (name); index_offset += 0x107;