(MbImageFormat): accept 'MC' signature as well.

This commit is contained in:
morkt 2018-01-15 03:06:43 +04:00
parent e08858a60a
commit bdad7902cc

View File

@ -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);