From 92204bbe4896ca0f852f2f66990bb481b581c532 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 12 Dec 2009 16:30:55 +0000 Subject: [PATCH] Correct SSE2 instructions ifdef, bug #2911655 prompt366 reports that linux build on his athlon (SSE but no SSE2) is broken because of missing __m128i. Compiler is right that instructions is from SSE2. Fix the ifdef to match the code as suggested by prompt366. --- desmume/src/matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/matrix.h b/desmume/src/matrix.h index d8969e084..695606c64 100644 --- a/desmume/src/matrix.h +++ b/desmume/src/matrix.h @@ -115,7 +115,7 @@ FORCEINLINE s32 s32floor(float f) //switched SSE2 functions //------------- -#ifdef ENABLE_SSE +#ifdef ENABLE_SSE2 template FORCEINLINE void memset_u16_le(void* dst, u16 val)