VideoCommon: Fix bug #10464 (RA4 format not handled in TextureDecoder)

This commit is contained in:
N.E.C 2017-08-21 10:22:15 -07:00
parent 36a0c689d0
commit ebda7db437
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ int TexDecoder_GetEFBCopyBlockWidthInTexels(EFBCopyFormat format)
case EFBCopyFormat::R4: case EFBCopyFormat::R4:
return 8; return 8;
// 8-bit formats // 8-bit formats
case EFBCopyFormat::RA4:
case EFBCopyFormat::A8: case EFBCopyFormat::A8:
case EFBCopyFormat::R8_0x1: case EFBCopyFormat::R8_0x1:
case EFBCopyFormat::R8: case EFBCopyFormat::R8:
@ -158,6 +159,7 @@ int TexDecoder_GetEFBCopyBlockHeightInTexels(EFBCopyFormat format)
case EFBCopyFormat::R4: case EFBCopyFormat::R4:
return 8; return 8;
// 8-bit formats // 8-bit formats
case EFBCopyFormat::RA4:
case EFBCopyFormat::A8: case EFBCopyFormat::A8:
case EFBCopyFormat::R8_0x1: case EFBCopyFormat::R8_0x1:
case EFBCopyFormat::R8: case EFBCopyFormat::R8: