From ebb1ae64087c7b0a535d2a5873e80aa197e12e7b Mon Sep 17 00:00:00 2001 From: JohnHolmesII Date: Tue, 14 May 2019 23:52:40 -0700 Subject: [PATCH] Properly ignore SIMD macros to avoid warning --- rpcs3/Emu/Cell/PPUInterpreter.cpp | 2 +- rpcs3/Emu/RSX/Common/BufferUtils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index 56731f1d77..201c915bf6 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -10,7 +10,7 @@ #include #if !defined(_MSC_VER) && !defined(__SSSE3__) -#define _mm_shuffle_epi8 +#define _mm_shuffle_epi8(opa, opb) opb #endif inline u64 dup32(u32 x) { return x | static_cast(x) << 32; } diff --git a/rpcs3/Emu/RSX/Common/BufferUtils.cpp b/rpcs3/Emu/RSX/Common/BufferUtils.cpp index 8445b8c794..7c76f3e70c 100644 --- a/rpcs3/Emu/RSX/Common/BufferUtils.cpp +++ b/rpcs3/Emu/RSX/Common/BufferUtils.cpp @@ -15,7 +15,7 @@ const bool s_use_ssse3 = true; #else false; -#define _mm_shuffle_epi8 +#define _mm_shuffle_epi8(opa, opb) opb #endif namespace