(AutoEntry): file type detection moved to separate method.

This commit is contained in:
morkt
2016-01-18 20:27:40 +04:00
parent 15d17e80be
commit bb49a1376a
2 changed files with 23 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ namespace GameRes.Formats.TopCat
Offset = offset;
}
private static IResource DetectFileType (ArcView file, long offset)
new private static IResource DetectFileType (ArcView file, long offset)
{
uint signature = file.View.ReadUInt32 (offset);
return FormatCatalog.Instance.LookupSignature (signature).FirstOrDefault();