mirror of https://github.com/PCSX2/pcsx2.git
Found the typo responsible for the clipping bug.
Changed a few lines from cotton's idea of readability to mine, at least until cotton reverts it. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1174 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
d363c21e8f
commit
b1ddb5990c
|
@ -98,7 +98,7 @@ microVUt(void) mVUanalyzeFMAC3(int Fd, int Fs, int Ft) {
|
|||
|
||||
microVUt(void) mVUanalyzeFMAC4(int Fs, int Ft) {
|
||||
microVU* mVU = mVUx;
|
||||
mVUinfo |= doClip;
|
||||
mVUinfo |= _doClip;
|
||||
analyzeReg1(Fs);
|
||||
analyzeReg4(Ft);
|
||||
}
|
||||
|
|
|
@ -132,9 +132,12 @@ microVUt(int) mVUsetFlags(int* xStatus, int* xMac, int* xClip) {
|
|||
mVUinfo |= (xM & 3) << 10; // _fmInstance
|
||||
mVUinfo |= (xC & 3) << 14; // _fcInstance
|
||||
|
||||
if (doStatus||isFSSET||doDivFlag) { xStatus [xS] = cycles + 4; xS = (xS+1)&3; }
|
||||
if (doMac) { xMac [xM] = cycles + 4; xM = (xM+1)&3; }
|
||||
if (doClip) { xClip [xC] = cycles + 4; xC = (xC+1)&3; }
|
||||
if (doStatus || isFSSET || doDivFlag)
|
||||
xStatus[xS++ & 3] = cycles + 4;
|
||||
if (doMac)
|
||||
xMac[xM++ & 3] = cycles + 4;
|
||||
if (doClip)
|
||||
xClip[xC++ & 3] = cycles + 4;
|
||||
|
||||
cycles++;
|
||||
incPC2(2);
|
||||
|
|
Loading…
Reference in New Issue