summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authordonkopunchstania <donkopunchstania@gmail.com>2009-12-02 04:17:18 +0000
committerdonkopunchstania <donkopunchstania@gmail.com>2009-12-02 04:17:18 +0000
commite6d51e8ff41e5b3c0718a44f85d7c880a86e144f (patch)
tree852e413eab05e5aae54eed0a5357c7d098b02166 /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parent6e56ea80f7a3ea2cfe8d9a531542e3e05d2376b3 (diff)
Fixed 24 bit depth copies to RAM. 24 and 16 bit depth copies are now more accurate. Added an offset to DX copies to RAM and made half sized copies to a texture linearly filtered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4635 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 c6214850a7..bbed1cc3cf 100644
--- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
@@ -180,7 +180,7 @@ int TexDecoder_GetBlockHeightInTexels(u32 format)
case GX_CTF_GB8: return 4;
case GX_TF_Z8: return 4;
case GX_TF_Z16: return 4;
- case GX_TF_Z24X8: return 1;
+ case GX_TF_Z24X8: return 4;
case GX_CTF_Z4: return 8;
case GX_CTF_Z8M: return 4;
case GX_CTF_Z8L: return 4;