GameRes refactoring.

(FormatCatalog.CreateEntry): method renamed to 'Create' and made generic
towards Entry type.
This commit is contained in:
morkt
2015-08-30 22:34:06 +04:00
parent 4bfdc502e4
commit 46dbf2b142
53 changed files with 75 additions and 99 deletions

View File

@@ -113,7 +113,7 @@ namespace GARbro.GUI
{
if (0 != (file.Attributes & (FileAttributes.System)))
continue;
var entry = FormatCatalog.Instance.CreateEntry (file.Name);
var entry = FormatCatalog.Instance.Create<Entry> (file.Name);
entry.Size = (uint)Math.Min (file.Length, uint.MaxValue);
list.Add (entry);
}