Skip to content

Commit

Permalink
Merge pull request #5958 from beholdnec/fix-10464
Browse files Browse the repository at this point in the history
VideoCommon: Fix bug #10464 (RA4 format not handled in TextureDecoder)
  • Loading branch information
stenzek committed Aug 22, 2017
2 parents 36a0c68 + ebda7db commit 9cdf4b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/VideoCommon/TextureDecoder_Common.cpp
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9cdf4b5

Please sign in to comment.