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