mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-19 01:14:31 +08:00
(GccFormat.ReadMetaData): return 32bpp for masked images.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user