mirror of https://github.com/PCSX2/pcsx2.git
microVU: remove some spamming in release builds for Dawn of Mana level 2...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3251 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
1d338c3a6e
commit
c45480f5a6
|
@ -211,7 +211,13 @@ mVUop(mVULowerOP_T3_11) { mVULowerOP_T3_11_OPCODE [((mVU->code >> 6) & 0x1f)](mX
|
|||
mVUop(mVUopU) { mVU_UPPER_OPCODE [ (mVU->code & 0x3f) ](mX); } // Gets Upper Opcode
|
||||
mVUop(mVUopL) { mVULOWER_OPCODE [ (mVU->code >> 25) ](mX); } // Gets Lower Opcode
|
||||
mVUop(mVUunknown) {
|
||||
pass2 { Console.Error("microVU%d: Unknown Micro VU opcode called (%x) [%04x]\n", getIndex, mVU->code, xPC); }
|
||||
pass2 {
|
||||
if (!IsDevBuild) { // Dawn Of Mana Level 2 spams this slowing down the game; but game is fine
|
||||
static int UnknownOpCount = 0;
|
||||
if (UnknownOpCount++ >= 5) return;
|
||||
}
|
||||
Console.Error("microVU%d: Unknown Micro VU opcode called (%x) [%04x]\n", getIndex, mVU->code, xPC);
|
||||
}
|
||||
pass3 { mVUlog("Unknown", mVU->code); }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue