mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(ReadIndex): clear directory index that was possibly partially-filled.
This commit is contained in:
@@ -129,6 +129,8 @@ namespace GameRes.Formats.Tactics
|
||||
}
|
||||
catch { /* ignore V0 parse errors, try V1 */ }
|
||||
|
||||
if (m_dir.IsValueCreated)
|
||||
m_dir.Value.Clear();
|
||||
input.Position = 0;
|
||||
if (ReadV1 (input))
|
||||
return m_dir.Value;
|
||||
|
||||
Reference in New Issue
Block a user