From e5917f896847b7d76ec98d846af87804fcd47a2e Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Tue, 11 Sep 2018 12:48:13 -0300 Subject: Fixup image error message and add G8R8 to size query (#410) --- Ryujinx.Graphics/Texture/ImageUtils.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Ryujinx.Graphics/Texture/ImageUtils.cs') diff --git a/Ryujinx.Graphics/Texture/ImageUtils.cs b/Ryujinx.Graphics/Texture/ImageUtils.cs index ccea43ec..c09eaf86 100644 --- a/Ryujinx.Graphics/Texture/ImageUtils.cs +++ b/Ryujinx.Graphics/Texture/ImageUtils.cs @@ -235,6 +235,7 @@ namespace Ryujinx.Graphics.Texture case GalImageFormat.A1R5G5B5: case GalImageFormat.B5G6R5: case GalImageFormat.R8G8: + case GalImageFormat.G8R8: case GalImageFormat.R16: case GalImageFormat.D16: return Image.Width * Image.Height * 2; -- cgit v1.2.3