summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-12-24 11:15:51 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-12-24 11:15:51 +0000
commit444854601caa1f1227c05194f3816ae6c5c0dbf2 (patch)
treedec4bb01c8aa5a2d8047e1ddef83373469557cc8 /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parentb5d482a0d37565e9a63dde16c148cbdd8270ca22 (diff)
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
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;