From cea7b2d43c64427062e11690e38f5f459c0ab821 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 18 May 2016 14:21:53 -0300 Subject: pcr/reicast-git: add more patches --- pcr/reicast-git/update-softrend.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pcr/reicast-git/update-softrend.patch (limited to 'pcr/reicast-git/update-softrend.patch') diff --git a/pcr/reicast-git/update-softrend.patch b/pcr/reicast-git/update-softrend.patch new file mode 100644 index 000000000..66e2c8bde --- /dev/null +++ b/pcr/reicast-git/update-softrend.patch @@ -0,0 +1,12 @@ +diff -Nur a/core/rend/soft/softrend.cpp b/core/rend/soft/softrend.cpp +--- a/core/rend/soft/softrend.cpp 2016-05-18 07:26:32.058143101 -0300 ++++ b/core/rend/soft/softrend.cpp 2016-05-18 12:24:35.403930238 -0300 +@@ -1164,7 +1164,7 @@ + + //R coefs should be adjusted to match pixel format + INLINE __m128 shuffle_pixel(__m128 v) { +- return (__m128&)_mm_shuffle_epi8((__m128i&)v, _mm_set_epi8(R(0x80,2,1, 0))); ++ return _mm_cvtepi32_ps(_mm_shuffle_epi8(_mm_cvtps_epi32(v), _mm_set_epi8(R(0x80, 2, 1, 0)))); + } + + virtual void Present() { -- cgit v1.2.3