aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Gpu/TextureHelper.cs
diff options
context:
space:
mode:
authorLordmau5 <mail@lordmau5.com>2018-06-12 14:29:44 +0200
committergdkchan <gab.dark.100@gmail.com>2018-06-12 09:29:44 -0300
commit98e6a34608cc31f1f40e964a4a8cc80606877eca (patch)
tree81d251cc8012248c43e9c435c77e9c7a46a0259c /Ryujinx.HLE/Gpu/TextureHelper.cs
parent46dc89f8dd7fc6fa75d3255a49e89a4615e1e504 (diff)
Implement R16 texture format (#147)
Diffstat (limited to 'Ryujinx.HLE/Gpu/TextureHelper.cs')
-rw-r--r--Ryujinx.HLE/Gpu/TextureHelper.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Gpu/TextureHelper.cs b/Ryujinx.HLE/Gpu/TextureHelper.cs
index f1b3f0b3..e48e25ad 100644
--- a/Ryujinx.HLE/Gpu/TextureHelper.cs
+++ b/Ryujinx.HLE/Gpu/TextureHelper.cs
@@ -33,6 +33,7 @@ namespace Ryujinx.HLE.Gpu
case GalTextureFormat.A1B5G5R5: return Texture.Width * Texture.Height * 2;
case GalTextureFormat.B5G6R5: return Texture.Width * Texture.Height * 2;
case GalTextureFormat.G8R8: return Texture.Width * Texture.Height * 2;
+ case GalTextureFormat.R16: return Texture.Width * Texture.Height * 2;
case GalTextureFormat.R8: return Texture.Width * Texture.Height;
case GalTextureFormat.BC1: