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

This commit is contained in:
ReinUsesLisp 2018-09-11 12:48:13 -03:00 committed by gdkchan
parent b7ff9a2193
commit 7c68354f1c
3 changed files with 4 additions and 3 deletions

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;