mirror of https://github.com/PCSX2/pcsx2.git
microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1431 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
8158636490
commit
95db132180
|
@ -1056,6 +1056,7 @@ mVUop(mVU_XITOP) {
|
||||||
pass1 { if (!_It_) { mVUlow.isNOP = 1; } analyzeVIreg2(_It_, mVUlow.VI_write, 1); }
|
pass1 { if (!_It_) { mVUlow.isNOP = 1; } analyzeVIreg2(_It_, mVUlow.VI_write, 1); }
|
||||||
pass2 {
|
pass2 {
|
||||||
MOVZX32M16toR(gprT1, (uptr)&mVU->regs->vifRegs->itop);
|
MOVZX32M16toR(gprT1, (uptr)&mVU->regs->vifRegs->itop);
|
||||||
|
AND32ItoR(gprT1, isVU1 ? 0x3ff : 0xff);
|
||||||
mVUallocVIb(mVU, gprT1, _It_);
|
mVUallocVIb(mVU, gprT1, _It_);
|
||||||
}
|
}
|
||||||
pass3 { mVUlog("XITOP vi%02d", _Ft_); }
|
pass3 { mVUlog("XITOP vi%02d", _Ft_); }
|
||||||
|
|
|
@ -109,7 +109,7 @@ declareAllVariables
|
||||||
#define divI 0x1040000
|
#define divI 0x1040000
|
||||||
#define divD 0x2080000
|
#define divD 0x2080000
|
||||||
|
|
||||||
#define isVU1 (mVU == µVU1)
|
#define isVU1 (mVU->index != 0)
|
||||||
#define getIndex (isVU1 ? 1 : 0)
|
#define getIndex (isVU1 ? 1 : 0)
|
||||||
#define getVUmem(x) (((isVU1) ? (x & 0x3ff) : ((x >= 0x400) ? (x & 0x43f) : (x & 0xff))) * 16)
|
#define getVUmem(x) (((isVU1) ? (x & 0x3ff) : ((x >= 0x400) ? (x & 0x43f) : (x & 0xff))) * 16)
|
||||||
#define offsetSS ((_X) ? (0) : ((_Y) ? (4) : ((_Z) ? 8: 12)))
|
#define offsetSS ((_X) ? (0) : ((_Y) ? (4) : ((_Z) ? 8: 12)))
|
||||||
|
|
Loading…
Reference in New Issue