aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-09-01 18:51:51 -0300
committerGitHub <noreply@github.com>2018-09-01 18:51:51 -0300
commitb549daed034225a0b305dc40497d73983cc3827e (patch)
tree8bb77fa94a1ad1f8df56c82b9eac925da1aa90d7 /Ryujinx.Graphics
parente72fd3f7a7cf770283f4cbd4b082677a83daf515 (diff)
Fix exception throw message for unimpl texture formats (#398)
Diffstat (limited to 'Ryujinx.Graphics')
-rw-r--r--Ryujinx.Graphics/Gal/ImageFormatConverter.cs2
1 files changed, 1 insertions, 1 deletions
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)