Changed a behavior of recUpdateFlags a bit; now it also clamps results when flag updating is skipped.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@579 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
tmkkmac 2009-02-23 19:30:07 +00:00
parent ad5c6cff48
commit 986f2a1a71
1 changed files with 5 additions and 1 deletions

View File

@ -149,7 +149,11 @@ void recUpdateFlags(VURegs * VU, int reg, int info)
static int t1reg, t1regBoolean;
static const int flipMask[16] = {0, 8, 4, 12, 2, 10, 6, 14, 1, 9, 5, 13, 3, 11, 7, 15};
if( !(info & PROCESS_VU_UPDATEFLAGS) ) return;
if( !(info & PROCESS_VU_UPDATEFLAGS) ) {
if (reg != EEREC_TEMP) vuFloat2(reg, EEREC_TEMP, _X_Y_Z_W);
else vuFloat_useEAX(info, reg, _X_Y_Z_W);
return;
}
//SysPrintf ("recUpdateFlags\n");