Fixup image error message and add G8R8 to size query (#410)

This commit is contained in:
ReinUsesLisp authored and gdkchan committed 2018-09-11 12:48:13 -03:00
1 parent db1a759c59
commit e5917f8968
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -235,6 +235,7 @@ namespace Ryujinx.Graphics.Texture
case GalImageFormat.A1R5G5B5:
case GalImageFormat.B5G6R5:
case GalImageFormat.R8G8:
case GalImageFormat.G8R8:
case GalImageFormat.R16:
case GalImageFormat.D16:
return Image.Width * Image.Height * 2;