mirror of https://github.com/PCSX2/pcsx2.git
microVU: Only spam "Reading VU1 Regs" warning in Dev mode and only when MTVU is enabled. It's useless when it isn't.
This commit is contained in:
parent
b20433c0be
commit
bbecc3d0c2
|
@ -270,7 +270,7 @@ static inline u32 branchAddr(const mV)
|
||||||
|
|
||||||
static void __fc mVUwaitMTVU() {
|
static void __fc mVUwaitMTVU() {
|
||||||
if (IsDevBuild) DevCon.WriteLn("microVU0: Waiting on VU1 thread to access VU1 regs!");
|
if (IsDevBuild) DevCon.WriteLn("microVU0: Waiting on VU1 thread to access VU1 regs!");
|
||||||
if (THREAD_VU1) vu1Thread.WaitVU();
|
vu1Thread.WaitVU();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transforms the Address in gprReg to valid VU0/VU1 Address
|
// Transforms the Address in gprReg to valid VU0/VU1 Address
|
||||||
|
@ -286,7 +286,7 @@ __fi void mVUaddrFix(mV, const x32& gprReg)
|
||||||
xAND(gprReg, 0xff); // if !(addr & 0x4000), wrap around
|
xAND(gprReg, 0xff); // if !(addr & 0x4000), wrap around
|
||||||
xForwardJump32 jmpB;
|
xForwardJump32 jmpB;
|
||||||
jmpA.SetTarget();
|
jmpA.SetTarget();
|
||||||
if (THREAD_VU1 || (IsDevBuild && !isCOP2)) {
|
if (THREAD_VU1) {
|
||||||
mVUbackupRegs(mVU, true);
|
mVUbackupRegs(mVU, true);
|
||||||
xPUSH(gprT1);
|
xPUSH(gprT1);
|
||||||
xPUSH(gprT2);
|
xPUSH(gprT2);
|
||||||
|
@ -294,10 +294,10 @@ __fi void mVUaddrFix(mV, const x32& gprReg)
|
||||||
// Align the stackframe (GCC only, since GCC assumes stackframe is always aligned)
|
// Align the stackframe (GCC only, since GCC assumes stackframe is always aligned)
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
xSUB(esp, 4);
|
xSUB(esp, 4);
|
||||||
#endif
|
#endif{
|
||||||
if (IsDevBuild && !isCOP2) { // Lets see which games do this!
|
if (IsDevBuild && !isCOP2) { // Lets see which games do this!
|
||||||
xMOV (gprT2, mVU.prog.cur->idx); // Note: Kernel does it via COP2 to initialize VU1!
|
xMOV(gprT2, mVU.prog.cur->idx); // Note: Kernel does it via COP2 to initialize VU1!
|
||||||
xMOV (gprT3, xPC); // So we don't spam console, we'll only check micro-mode...
|
xMOV(gprT3, xPC); // So we don't spam console, we'll only check micro-mode...
|
||||||
xCALL(mVUwarningRegAccess);
|
xCALL(mVUwarningRegAccess);
|
||||||
}
|
}
|
||||||
xCALL(mVUwaitMTVU);
|
xCALL(mVUwaitMTVU);
|
||||||
|
|
Loading…
Reference in New Issue