(BitmapWithAlpha): another special case.

This commit is contained in:
morkt 2019-03-23 19:45:19 +04:00
parent 0a8875003b
commit b9431f6f85

View File

@ -177,6 +177,10 @@ namespace GameRes
return ReadBitmapWithAlpha (file, info); return ReadBitmapWithAlpha (file, info);
} }
} }
else if (0x20 == info.BPP && (info.ImageLength - (width_x_height * 3 + info.ImageOffset)) <= 2)
{
return ReadBitmapBGRA (file, info);
}
} }
return null; return null;
} }