From e9d6b3d05cd48bae072d2a06482ffb31caaeabb2 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 26 Dec 2017 19:53:08 +0400 Subject: [PATCH] (GR2): fixed 15bpp images. --- ArcFormats/AdvSys/ImageGR2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/AdvSys/ImageGR2.cs b/ArcFormats/AdvSys/ImageGR2.cs index af39c86a..b98ed985 100644 --- a/ArcFormats/AdvSys/ImageGR2.cs +++ b/ArcFormats/AdvSys/ImageGR2.cs @@ -61,7 +61,7 @@ namespace GameRes.Formats.AdvSys { case 32: format = PixelFormats.Bgra32; break; case 24: format = PixelFormats.Bgr24; break; - case 16: format = PixelFormats.Bgr565; break; + case 16: format = PixelFormats.Bgr555; break; default: throw new NotSupportedException ("Not supported image bitdepth"); } return ImageData.Create (info, format, null, pixels, stride);