From be5615b477dd0c8cbc03637ed3b3ab776a74e8d1 Mon Sep 17 00:00:00 2001 From: rogerman Date: Thu, 20 Aug 2015 18:57:24 +0000 Subject: [PATCH] GPU: - Fix compiling on WIN32. --- desmume/src/GPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index 10c89095f..0e1a6b24c 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -2513,7 +2513,7 @@ static u16 GPU_RenderLine_DispCapture_BlendFunc(const u16 srcA, const u16 srcB, } #ifdef ENABLE_SSE2 -static __m128i GPU_RenderLine_DispCapture_BlendFunc_SSE2(__m128i srcA, __m128i srcB, const __m128i blendEVA, const __m128i blendEVB) +static __m128i GPU_RenderLine_DispCapture_BlendFunc_SSE2(__m128i &srcA, __m128i &srcB, const __m128i &blendEVA, const __m128i &blendEVB) { const __m128i colorBitMask = _mm_set1_epi16(0x001F); const __m128i srcA_alpha = _mm_and_si128(srcA, _mm_set1_epi16(0x8000));