(ALP): flip bitmap.

This commit is contained in:
morkt 2017-01-21 04:16:57 +04:00
parent 915daf1067
commit 784666db2a

View File

@ -55,7 +55,7 @@ namespace GameRes.Formats.GameSystem
{
file.Position = 8;
var pixels = file.ReadBytes ((int)info.Width * (int)info.Height);
return ImageData.Create (info, PixelFormats.Gray8, null, pixels);
return ImageData.CreateFlipped (info, PixelFormats.Gray8, null, pixels, (int)info.Width);
}
public override void Write (Stream file, ImageData image)