mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
(GccFormat.ReadMetaData): return 32bpp for masked images.
This commit is contained in:
parent
dd13ce551b
commit
8d5e1d602a
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user