(IntOpener.TryOpen): clear directory before attempting new entry size.

This commit is contained in:
morkt 2015-12-07 18:20:36 +04:00
parent 853ed0eaa8
commit 92caed4901

View File

@ -146,6 +146,7 @@ namespace GameRes.Formats.CatSystem
var dir = new List<Entry> (entry_count); var dir = new List<Entry> (entry_count);
foreach (var name_length in NameSizes) foreach (var name_length in NameSizes)
{ {
dir.Clear();
try try
{ {
long current_offset = 8; long current_offset = 8;