(GccFormat.ReadMetaData): return 32bpp for masked images.

This commit is contained in:
morkt 2015-07-02 03:21:32 +04:00
parent dd13ce551b
commit 8d5e1d602a

View File

@ -61,7 +61,7 @@ namespace GameRes.Formats.Elf
{
Width = LittleEndian.ToUInt16 (header, 8),
Height = LittleEndian.ToUInt16 (header, 10),
BPP = 24,
BPP = 'm' == header[3] ? 32 : 24,
OffsetX = LittleEndian.ToInt16 (header, 4),
OffsetY = LittleEndian.ToInt16 (header, 6),
Signature = LittleEndian.ToUInt32 (header, 0),