mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(ALP): flip bitmap.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace GameRes.Formats.GameSystem
|
|||||||
{
|
{
|
||||||
file.Position = 8;
|
file.Position = 8;
|
||||||
var pixels = file.ReadBytes ((int)info.Width * (int)info.Height);
|
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)
|
public override void Write (Stream file, ImageData image)
|
||||||
|
|||||||
Reference in New Issue
Block a user