mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 05:38:48 +08:00
GameRes refactoring.
(FormatCatalog.CreateEntry): method renamed to 'Create' and made generic towards Entry type.
This commit is contained in:
@@ -167,7 +167,7 @@ namespace GameRes.Formats.AVC
|
||||
continue;
|
||||
}
|
||||
var name = Encodings.cp932.GetString (m_index, index_offset, name_length);
|
||||
var entry = FormatCatalog.Instance.CreateEntry (name);
|
||||
var entry = FormatCatalog.Instance.Create<Entry> (name);
|
||||
index_offset += 0x107;
|
||||
entry.Offset = m_header_offset + LittleEndian.ToUInt32 (m_index, index_offset);
|
||||
entry.Size = LittleEndian.ToUInt32 (m_index, index_offset+4);
|
||||
|
||||
Reference in New Issue
Block a user