mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use non-threadsafe Lazy constructor where appropriate.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace GameRes.Formats.Tactics
|
||||
m_packed_size = m_file.View.ReadUInt32 (0x10);
|
||||
m_unpacked_size = m_file.View.ReadUInt32 (0x14);
|
||||
m_count = m_file.View.ReadInt32 (0x18);
|
||||
m_dir = new Lazy<List<Entry>> (() => new List<Entry> (m_count));
|
||||
m_dir = new Lazy<List<Entry>> (() => new List<Entry> (m_count), false);
|
||||
}
|
||||
|
||||
public List<Entry> ReadIndex ()
|
||||
|
||||
Reference in New Issue
Block a user