mirror of https://github.com/PCSX2/pcsx2.git
microVU:
- Fixed a bug from r1315. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1317 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b65b439e6a
commit
5831b47c4e
|
@ -52,10 +52,9 @@ microVUt(void) mVUdispatcherA(mV) {
|
||||||
AND32ItoR(gprF2, 0x1800);
|
AND32ItoR(gprF2, 0x1800);
|
||||||
OR32RtoR (gprF1, gprF2);
|
OR32RtoR (gprF1, gprF2);
|
||||||
|
|
||||||
MOV32RtoR(gprF3, gprF0);
|
SHL32ItoR(gprF0, 14);
|
||||||
SHL32ItoR(gprF3, 14);
|
AND32ItoR(gprF0, 0x3cf0000);
|
||||||
AND32ItoR(gprF3, 0x3cf0000);
|
OR32RtoR (gprF1, gprF0);
|
||||||
OR32RtoR (gprF1, gprF3);
|
|
||||||
|
|
||||||
MOV32RtoR(gprF0, gprF1);
|
MOV32RtoR(gprF0, gprF1);
|
||||||
MOV32RtoR(gprF2, gprF1);
|
MOV32RtoR(gprF2, gprF1);
|
||||||
|
|
|
@ -39,7 +39,7 @@ microVUt(void) mVUupdateFlags(mV, int reg, int regT1, int regT2, int xyzw, bool
|
||||||
if (sFLAG.doFlag) {
|
if (sFLAG.doFlag) {
|
||||||
getFlagReg(sReg, sFLAG.write); // Set sReg to valid GPR by Cur Flag Instance
|
getFlagReg(sReg, sFLAG.write); // Set sReg to valid GPR by Cur Flag Instance
|
||||||
mVUallocSFLAGa(sReg, sFLAG.lastWrite); // Get Prev Status Flag
|
mVUallocSFLAGa(sReg, sFLAG.lastWrite); // Get Prev Status Flag
|
||||||
if (sFLAG.doNonSticky) AND32ItoR(sReg, 0xfffcff00); // Clear O,U,S,Z flags
|
if (sFLAG.doNonSticky) AND32ItoR(sReg, 0xfffc00ff); // Clear O,U,S,Z flags
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------Check for Signed flags------------------------------
|
//-------------------------Check for Signed flags------------------------------
|
||||||
|
|
Loading…
Reference in New Issue