diff --git a/ArcFormats/ArcCommon.cs b/ArcFormats/ArcCommon.cs index 6c6fba08..edb3b808 100644 --- a/ArcFormats/ArcCommon.cs +++ b/ArcFormats/ArcCommon.cs @@ -60,6 +60,7 @@ namespace GameRes.Formats { return new AutoEntry (base_name, () => { uint signature = file.View.ReadUInt32 (offset); + if (0 == signature) return null; return FormatCatalog.Instance.LookupSignature (signature).FirstOrDefault(); }) { Offset = offset }; }