From 3cb1d62cccf62b4bcf6f50d5f5c2ef1c82908853 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sat, 16 Aug 2008 13:13:33 +0000 Subject: [PATCH] Works this way, and is quite a bit faster git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@41 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/x86/iVUmicro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/x86/iVUmicro.c b/pcsx2/x86/iVUmicro.c index 9a57264ff4..52ffc9b6e7 100644 --- a/pcsx2/x86/iVUmicro.c +++ b/pcsx2/x86/iVUmicro.c @@ -1153,14 +1153,14 @@ void vuFloat2(int regd, int regTemp, int XYZW) { // Clamps infinities to max/min non-infinity number (doesn't use any temp regs) void vuFloat( int info, int regd, int XYZW) { if( CHECK_OVERFLOW ) { - /*if ( (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) { + if ( !(CHECK_EXTRA_OVERFLOW) && (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) { int t1reg = _vuGetTempXMMreg2(info, regd); if (t1reg >= 0) { vuFloat2( regd, t1reg, XYZW ); _freeXMMreg( t1reg ); return; } - }*/ + } switch (XYZW) { case 0: // Don't do anything if no vectors are being modified. break;