From 35cf2638e8ff9e247d1d2a6106cced5b456be4c1 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 27 Aug 2016 19:00:38 +0200 Subject: [PATCH] Vif: replace makeMergeMask macro with a function --- pcsx2/x86/newVif_Dynarec.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pcsx2/x86/newVif_Dynarec.cpp b/pcsx2/x86/newVif_Dynarec.cpp index cbac1452ec..346bd040bc 100644 --- a/pcsx2/x86/newVif_Dynarec.cpp +++ b/pcsx2/x86/newVif_Dynarec.cpp @@ -68,8 +68,9 @@ VifUnpackSSE_Dynarec::VifUnpackSSE_Dynarec(const nVifStruct& vif_, const nVifBlo vCL = 0; } -#define makeMergeMask(x) { \ - x = ((x&0x40)>>6) | ((x&0x10)>>3) | (x&4) | ((x&1)<<3); \ +__fi void makeMergeMask(u32& x) +{ + x = ((x&0x40)>>6) | ((x&0x10)>>3) | (x&4) | ((x&1)<<3); } __fi void VifUnpackSSE_Dynarec::SetMasks(int cS) const {