mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(ALP): flip bitmap.
This commit is contained in:
parent
915daf1067
commit
784666db2a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user