From 444854601caa1f1227c05194f3816ae6c5c0dbf2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Fri, 24 Dec 2010 11:15:51 +0000 Subject: [PATCH] CMPR texel blocks are 8x8 in hardware, even though the source format says 4x4. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6655 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index e83ceb5204..dd350d45c7 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -146,7 +146,7 @@ int TexDecoder_GetBlockHeightInTexels(u32 format) case GX_TF_C4: return 8; case GX_TF_C8: return 4; case GX_TF_C14X2: return 4; - case GX_TF_CMPR: return 4; + case GX_TF_CMPR: return 8; case GX_CTF_R4: return 8; case GX_CTF_RA4: return 4; case GX_CTF_RA8: return 4;