summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2010-04-01 10:06:43 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2010-04-01 10:06:43 +0000
commite0b4cbcdaed4e82295a589e0d00d03b2d9c7272c (patch)
treee5f0a5d6af124394835cd1414269bdbba7e4a00d /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
parent9cf7cb6cb80a65ff343874160b5f8598833612d0 (diff)
Another one bites the dust
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5263 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
index f454b3b0ce..ac90813c14 100644
--- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
@@ -165,6 +165,9 @@ PC_TexFormat TexDecoder_Decode_OpenCL(u8 *dst, const u8 *src, int width, int hei
formatResult = PC_TEX_FMT_RGB565;
break;
case GX_TF_RGB5A3:
+ // Doesn't decode correctly
+ // See Sonic Adventure 2: Battle opening sequence
+ return PC_TEX_FMT_NONE;
kernelToRun = Decoders[6].kernel;
sizeOfSrc = sizeof(u16);
sizeOfDst = sizeof(u32);