Fix a small size related issue on MapBufferEx and add the BC7U texture format

This commit is contained in:
gdkchan 2018-06-10 01:00:43 -03:00
parent 01b9b7f927
commit 0e8e116e5b
6 changed files with 11 additions and 8 deletions

View file

@ -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);