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:
@@ -70,7 +70,7 @@ namespace GameRes.Formats.Eagls
|
||||
break;
|
||||
var name = Binary.GetCString (index, index_offset, name_size);
|
||||
index_offset += name_size;
|
||||
var entry = FormatCatalog.Instance.CreateEntry (name);
|
||||
var entry = FormatCatalog.Instance.Create<Entry> (name);
|
||||
if (name.EndsWith (".dat", StringComparison.InvariantCultureIgnoreCase))
|
||||
entry.Type = "script";
|
||||
if (long_offsets)
|
||||
|
||||
Reference in New Issue
Block a user