Vif: replace makeMergeMask macro with a function

This commit is contained in:
Gregory Hainaut 2016-08-27 19:00:38 +02:00
parent b1d446895b
commit 35cf2638e8
1 changed files with 3 additions and 2 deletions

View File

@ -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 {