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
This commit is contained in:
james.jdunne 2011-01-04 22:30:58 +00:00
parent 99b4f4703d
commit dd7d325453

View File

@ -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)