(IarFormat.ReadMetaData): fixed offset sign.

This commit is contained in:
morkt 2015-10-25 02:58:30 +04:00
parent ec9b17367d
commit e03d502008

View File

@ -76,8 +76,8 @@ namespace GameRes.Formats.Sas5
{
Width = LittleEndian.ToUInt32 (header, 0x08),
Height = LittleEndian.ToUInt32 (header, 0x0C),
OffsetX = LittleEndian.ToInt32 (header, 0x10),
OffsetY = LittleEndian.ToInt32 (header, 0x14),
OffsetX = -LittleEndian.ToInt32 (header, 0x10),
OffsetY = -LittleEndian.ToInt32 (header, 0x14),
BPP = LittleEndian.ToInt32 (header, 0x18),
Stride = LittleEndian.ToInt32 (header, 0x1C),
PaletteSize = LittleEndian.ToInt32 (header, 0x20),