From 784666db2a67ab956e28a70c3333e8f1434c6166 Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 21 Jan 2017 04:16:57 +0400 Subject: [PATCH] (ALP): flip bitmap. --- ArcFormats/GameSystem/ImageALP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/GameSystem/ImageALP.cs b/ArcFormats/GameSystem/ImageALP.cs index 561e0b3a..1714d916 100644 --- a/ArcFormats/GameSystem/ImageALP.cs +++ b/ArcFormats/GameSystem/ImageALP.cs @@ -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)