From 037e3d044284c1957b5ca72701cd66a59da3e406 Mon Sep 17 00:00:00 2001 From: "memberTwo.mb2" Date: Mon, 6 Oct 2008 13:31:19 +0000 Subject: [PATCH] reverted r782 for linux only due to sse misalignment with gcc git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@784 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 2dc9aa99ec..e859d86815 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -352,7 +352,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in return PC_TEX_FMT_BGRA32; case GX_TF_I4: { -#if 1 +#ifdef _WIN32 __m128i Lmask = _mm_set1_epi8 (0x0F); __m128i Hmask = _mm_set1_epi8 (0xF0); __m128i* sseSrc = (__m128i *)src; @@ -424,7 +424,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in return PC_TEX_FMT_BGRA32; case GX_TF_I8: // speed critical { -#if 1 +#ifdef _WIN32 __m128i *sseSrc = (__m128i *)src; __m128i *sseDst = (__m128i *)dst; for (int y = 0; y < height; y += 4)