From b70b1ab498d9cd5ce63711657ac967a471be0a63 Mon Sep 17 00:00:00 2001 From: Crsky Date: Thu, 2 Apr 2026 06:21:40 +0800 Subject: [PATCH] fix: GR2 pixel format --- ArcFormats/Nexas/ImageGRP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Nexas/ImageGRP.cs b/ArcFormats/Nexas/ImageGRP.cs index 12fd3c22..94b396de 100644 --- a/ArcFormats/Nexas/ImageGRP.cs +++ b/ArcFormats/Nexas/ImageGRP.cs @@ -104,7 +104,7 @@ namespace GameRes.Formats.NeXAS switch (info.BPP) { case 8: Format = PixelFormats.Indexed8; break; - case 16: Format = PixelFormats.Bgr555; break; + case 16: Format = info.Version == 2 ? PixelFormats.Bgr565 : PixelFormats.Bgr555; break; case 24: Format = PixelFormats.Bgr24; break; case 32: Format = PixelFormats.Bgr32; break; default: throw new NotSupportedException ("Not supported GRP image color depth");