(ReadMetaData): height is a 32-bit integer.

This commit is contained in:
morkt 2015-03-31 14:40:49 +04:00
parent b19f0117d2
commit dba869d134

View File

@ -58,7 +58,7 @@ namespace GameRes.Formats.BlackRainbow
return new BmdMetaData
{
Width = LittleEndian.ToUInt32 (header, 8),
Height = LittleEndian.ToUInt16 (header, 12),
Height = LittleEndian.ToUInt32 (header, 12),
BPP = 32,
PackedSize = LittleEndian.ToUInt32 (header, 4),
Flag = LittleEndian.ToInt32 (header, 0x10),