From 1b5ac90976e47eb6bf82d36d39ba4e6a3905488d Mon Sep 17 00:00:00 2001 From: HorrorTroll Date: Sat, 25 Aug 2018 19:56:38 +0700 Subject: [PATCH] Implement B5G6R5Unorm & BGR5A1Unorm --- Ryujinx.Graphics/Gal/ImageFormatConverter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics/Gal/ImageFormatConverter.cs b/Ryujinx.Graphics/Gal/ImageFormatConverter.cs index 2d20a8a0e..85da22520 100644 --- a/Ryujinx.Graphics/Gal/ImageFormatConverter.cs +++ b/Ryujinx.Graphics/Gal/ImageFormatConverter.cs @@ -142,6 +142,8 @@ namespace Ryujinx.Graphics.Gal case GalFrameBufferFormat.RG8Snorm: return GalImageFormat.R8_SNORM; case GalFrameBufferFormat.RGBA8Snorm: return GalImageFormat.A8B8G8R8_SNORM_PACK32; case GalFrameBufferFormat.RG8Unorm: return GalImageFormat.R8G8_UNORM; + case GalFrameBufferFormat.B5G6R5Unorm: return GalImageFormat.B5G6R5_UNORM_PACK16; + case GalFrameBufferFormat.BGR5A1Unorm: return GalImageFormat.A1R5G5B5_UNORM_PACK16; } throw new NotImplementedException(Format.ToString());