mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-10 23:59:13 +08:00
fix: GR2 pixel format
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user