(Hg3Opener.OpenEntry): flip image according to Hg3Reader.

This commit is contained in:
morkt 2015-10-19 09:17:14 +04:00
parent 116d737c21
commit 0dc038be69

View File

@ -99,6 +99,8 @@ namespace GameRes.Formats.CatSystem
LittleEndian.Pack ((ushort)info.Width, header, 0xc);
LittleEndian.Pack ((ushort)info.Height, header, 0xe);
header[0x10] = (byte)info.BPP;
if (!reader.Flipped)
header[0x11] = 0x20;
return new PrefixStream (header, new MemoryStream (pixels));
}
}