From 632ac03fc2d2a157d35b29b4285787c573f7e137 Mon Sep 17 00:00:00 2001 From: jeid3 Date: Mon, 27 May 2013 09:54:16 +0100 Subject: [PATCH] Build ios fix --- GPU/GLES/TextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 19b8f2411..e67545870 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -744,7 +744,7 @@ static inline u32 QuickClutHash(const u8 *clut, u32 bytes) { const __m128i mult = _mm_set1_epi32(prime); const __m128i *p = (const __m128i *)clut; for (u32 i = 0; i < bytes / 16; ++i) { - cursor = _mm_add_epi32(cursor, _mm_mul_epi32(_mm_load_si128(&p[i]), mult)); + cursor = _mm_add_epi32(cursor, _mm_mul_epu32(_mm_load_si128(&p[i]), mult)); } // Add the four parts into the low i32. cursor = _mm_add_epi32(cursor, _mm_srli_si128(cursor, 8));