diff --git a/pcsx2/x86/microVU_Misc.h b/pcsx2/x86/microVU_Misc.h index 03faed1113..1177cad6f0 100644 --- a/pcsx2/x86/microVU_Misc.h +++ b/pcsx2/x86/microVU_Misc.h @@ -197,16 +197,7 @@ typedef u32 (__fastcall *mVUCall)(void*, void*); #define aWrap(x, m) ((x > m) ? 0 : x) #define shuffleSS(x) ((x==1)?(0x27):((x==2)?(0xc6):((x==4)?(0xe1):(0xe4)))) #define _1mb (0x100000) - -//#undef CHECK_VU_OVERFLOW -//#undef CHECK_VU_EXTRA_OVERFLOW -//#undef CHECK_VU_SIGN_OVERFLOW -//#undef CHECK_VU_UNDERFLOW -//#define CHECK_VU_OVERFLOW 1 -//#define CHECK_VU_EXTRA_OVERFLOW 1 -//#define CHECK_VU_SIGN_OVERFLOW 1 -//#define CHECK_VU_UNDERFLOW 1 -#define clampE 0//CHECK_VU_EXTRA_OVERFLOW +#define clampE CHECK_VU_EXTRA_OVERFLOW // Flag Info #define __Status (mVUregs.needExactMatch & 1) diff --git a/pcsx2/x86/microVU_Misc.inl b/pcsx2/x86/microVU_Misc.inl index a4f43d2fdc..654ee00947 100644 --- a/pcsx2/x86/microVU_Misc.inl +++ b/pcsx2/x86/microVU_Misc.inl @@ -455,11 +455,11 @@ void ADD_SS(microVU* mVU, int to, int from, int t1, int t2) { if (t2b) mVU->regAlloc->clearNeeded(t2); } -#define clampOp(opX) { \ - /*mVUclamp3(mVU, to, t1, 0xf);*/ \ - /*mVUclamp3(mVU, from, t1, 0xf);*/ \ - opX(to, from); \ - /*mVUclamp4(to, t1, 0xf);*/ \ +#define clampOp(opX) { \ + mVUclamp3(mVU, to, t1, 0xf); \ + mVUclamp3(mVU, from, t1, 0xf); \ + opX(to, from); \ + mVUclamp4(to, t1, 0xf); \ } void SSE_MAXPS(mV, int to, int from, int t1 = -1, int t2 = -1) {