mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(AutoEntry.Create): ignore zero signatures.
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user