mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(MbImageFormat): accept 'MC' signature as well.
This commit is contained in:
parent
e08858a60a
commit
bdad7902cc
@ -40,7 +40,7 @@ namespace GameRes.Formats
|
||||
{
|
||||
int c1 = stream.ReadByte();
|
||||
int c2 = stream.ReadByte();
|
||||
if ('M' != c1 || 'B' != c2)
|
||||
if ('M' != c1 || ('B' != c2 && 'C' != c2))
|
||||
return null;
|
||||
using (var bmp = OpenAsBitmap (stream))
|
||||
return Bmp.ReadMetaData (bmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user