mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(ArcOpener): recognize BMP file header.
This commit is contained in:
parent
308b881f45
commit
417fbfdc78
@ -108,6 +108,8 @@ namespace GameRes.Formats.MAI
|
||||
res = FormatCatalog.Instance.ImageFormats.Where (x => x.Tag == "CMP/MAI");
|
||||
else if (0x4d41 == (signature & 0xffff)) // 'AM'
|
||||
res = FormatCatalog.Instance.ImageFormats.Where (x => x.Tag == "AM/MAI");
|
||||
else if (0x4d42 == (signature & 0xffff)) // 'BM'
|
||||
res = FormatCatalog.Instance.ImageFormats.Where (x => x.Tag == "BMP");
|
||||
else
|
||||
res = FormatCatalog.Instance.LookupSignature (signature);
|
||||
return res.FirstOrDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user