VideoCommon: Fix bug #10464 (RA4 format not handled in TextureDecoder)
This commit is contained in:
parent
36a0c689d0
commit
ebda7db437
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue