Merge pull request #5958 from beholdnec/fix-10464

VideoCommon: Fix bug #10464 (RA4 format not handled in TextureDecoder)
This commit is contained in:
Stenzek 2017-08-22 11:43:09 +10:00 committed by GitHub
commit 9cdf4b5eaa
1 changed files with 2 additions and 0 deletions

View File

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