From b549daed034225a0b305dc40497d73983cc3827e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 1 Sep 2018 18:51:51 -0300 Subject: Fix exception throw message for unimpl texture formats (#398) --- Ryujinx.Graphics/Gal/ImageFormatConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics') diff --git a/Ryujinx.Graphics/Gal/ImageFormatConverter.cs b/Ryujinx.Graphics/Gal/ImageFormatConverter.cs index 8684ba96..7aa39f5f 100644 --- a/Ryujinx.Graphics/Gal/ImageFormatConverter.cs +++ b/Ryujinx.Graphics/Gal/ImageFormatConverter.cs @@ -125,7 +125,7 @@ namespace Ryujinx.Graphics.Gal break; } - throw new NotImplementedException("0x" + Format.ToString("x2") + " " + Type.ToString()); + throw new NotImplementedException("0x" + ((int)Format).ToString("x2") + " " + Type.ToString()); } public static GalImageFormat ConvertFrameBuffer(GalFrameBufferFormat Format) -- cgit v1.2.3