Add a dev notice for a tweak point with VU0 Macro/Micro updates.

This is rare and I'd like to know when games trigger this.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5452 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-11-13 16:47:51 +00:00
parent 376e373137
commit 3c478fed8f
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,13 @@ void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) {
const int test = cpu->m_Idx ? 0x100 : 1;
const int c = 128; // VU Execution Cycles
if (stat & test) { // VU is running
#ifdef PCSX2_DEVBUILD
static int warn = 5;
if (warn > 0){
DevCon.Warning("Rare case: VU0 Macro (COP2) op forcing a VU0 Micro update.");
warn--;
}
#endif
cpu->Execute(c); // Execute VU
if (stat & test) {
cpu->m_lastEEcycles+=(c*2);