summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authorjames.jdunne <james.jdunne@gmail.com>2011-01-04 22:30:58 +0000
committerjames.jdunne <james.jdunne@gmail.com>2011-01-04 22:30:58 +0000
commitdd7d325453188578fc4fd8235fd5663c7d101e13 (patch)
treed0c96c7c31b70cda3dd069b0433ad24d7b31a286 /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parent99b4f4703d286b405a6f7575c8f7599d584aaca2 (diff)
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp4
1 files changed, 3 insertions, 1 deletions
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)