mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(AutoEntry.Create): ignore zero signatures.
This commit is contained in:
parent
6369489fc6
commit
46631796b8
@ -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 };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user