diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-18 14:21:53 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-05-18 18:12:48 -0300 |
commit | cea7b2d43c64427062e11690e38f5f459c0ab821 (patch) | |
tree | a67906e7e334b2ec1c69440598915887e2c68d68 /pcr/reicast-git/update-softrend.patch | |
parent | 97421f04ff177d545b6b2128f94c14ee71453788 (diff) |
pcr/reicast-git: add more patches
Diffstat (limited to 'pcr/reicast-git/update-softrend.patch')
-rw-r--r-- | pcr/reicast-git/update-softrend.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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() { |