From dd7d325453188578fc4fd8235fd5663c7d101e13 Mon Sep 17 00:00:00 2001 From: "james.jdunne" Date: Tue, 4 Jan 2011 22:30:58 +0000 Subject: [PATCH] Temporarily reverting to unoptimized until I can figure this out. Apologies for the SNAFU :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6741 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index a2aa5ae7c3..4a1670046e 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -1707,6 +1707,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he case GX_TF_CMPR: // speed critical // The metroid games use this format almost exclusively. { +#if 0 // JSD optimized with SSE2 intrinsics. // Produces a ~40% improvement in speed over reference C implementation. for (int y = 0; y < height; y += 8) @@ -2099,7 +2100,8 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he } } } -#if 0 +#endif +#if 1 for (int y = 0; y < height; y += 8) { for (int x = 0; x < width; x += 8)