Fix exception throw message for unimpl texture formats (#398)

This commit is contained in:
gdkchan 2018-09-01 18:51:51 -03:00 committed by GitHub
parent e72fd3f7a7
commit b549daed03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ namespace Ryujinx.HLE.Gpu.Texture
case GalTextureFormat.Astc2D10x6: return Read16BptCompressedTexture(Memory, Texture, 10, 6);
}
throw new NotImplementedException("0x" + Texture.Format.ToString("x2"));
throw new NotImplementedException("0x" + ((int)Texture.Format).ToString("x2"));
}
private unsafe static byte[] Read1Bpp(IAMemory Memory, TextureInfo Texture)