mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
GameRes refactoring.
(FormatCatalog.CreateEntry): method renamed to 'Create' and made generic towards Entry type.
This commit is contained in:
@@ -96,8 +96,7 @@ namespace GameRes.Formats.Kogado
|
||||
name = i.ToString ("D5");
|
||||
if (0 != ext.Length)
|
||||
name += '.'+ext;
|
||||
var entry = new KogadoEntry { Name = name };
|
||||
entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name);
|
||||
var entry = FormatCatalog.Instance.Create<KogadoEntry> (name);
|
||||
entry.Offset = data_offset + file.View.ReadUInt32 (index_offset + 0x18);
|
||||
if (version >= 0x200)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user