aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/Gpu/TextureReader.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-06-10 01:00:43 -0300
committergdkchan <gab.dark.100@gmail.com>2018-06-10 01:00:43 -0300
commit49fd76db0fee72870e0b7fee73e6b6380fa00823 (patch)
tree52ac8e2907c1d32b34cbf23f4549a8da275c9489 /Ryujinx.Core/Gpu/TextureReader.cs
parentadeb8793c21e8128ef50ecb555663dfa7ea9fda6 (diff)
Fix a small size related issue on MapBufferEx and add the BC7U texture format
Diffstat (limited to 'Ryujinx.Core/Gpu/TextureReader.cs')
-rw-r--r--Ryujinx.Core/Gpu/TextureReader.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Core/Gpu/TextureReader.cs b/Ryujinx.Core/Gpu/TextureReader.cs
index acd17c5d..e6058de1 100644
--- a/Ryujinx.Core/Gpu/TextureReader.cs
+++ b/Ryujinx.Core/Gpu/TextureReader.cs
@@ -18,6 +18,7 @@ namespace Ryujinx.Core.Gpu
case GalTextureFormat.B5G6R5: return Read565 (Memory, Texture);
case GalTextureFormat.G8R8: return Read2Bpp (Memory, Texture);
case GalTextureFormat.R8: return Read1Bpp (Memory, Texture);
+ case GalTextureFormat.BC7U: return Read16Bpt4x4(Memory, Texture);
case GalTextureFormat.BC1: return Read8Bpt4x4 (Memory, Texture);
case GalTextureFormat.BC2: return Read16Bpt4x4(Memory, Texture);
case GalTextureFormat.BC3: return Read16Bpt4x4(Memory, Texture);