(PxFormat): fixed height.

This commit is contained in:
morkt 2016-10-18 17:22:50 +04:00
parent 84985d18f5
commit e8d2dcf03a

View File

@ -93,7 +93,7 @@ namespace GameRes.Formats.Leaf
return new PxMetaData return new PxMetaData
{ {
Width = LittleEndian.ToUInt32 (header_ex, 0), Width = LittleEndian.ToUInt32 (header_ex, 0),
Height = LittleEndian.ToUInt32 (header_ex, 0), Height = LittleEndian.ToUInt32 (header_ex, 4),
BPP = LittleEndian.ToUInt16 (header_ex, 0x12), BPP = LittleEndian.ToUInt16 (header_ex, 0x12),
Type = type, Type = type,
FrameCount = count, FrameCount = count,