mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
ad5c6cff48
commit
986f2a1a71
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue