mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
GameRes refactoring.
(FormatCatalog.CreateEntry): method renamed to 'Create' and made generic towards Entry type.
This commit is contained in:
@@ -103,7 +103,7 @@ namespace GameRes
|
||||
|
||||
private Entry EntryFromFileInfo (FileInfo file)
|
||||
{
|
||||
var entry = FormatCatalog.Instance.CreateEntry (file.FullName);
|
||||
var entry = FormatCatalog.Instance.Create<Entry> (file.FullName);
|
||||
entry.Size = (uint)Math.Min (file.Length, uint.MaxValue);
|
||||
return entry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user