From 3c478fed8fcd7450f5a8765b91ebd1379afa0cc2 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 13 Nov 2012 16:47:51 +0000 Subject: [PATCH] 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 --- pcsx2/VUmicro.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pcsx2/VUmicro.cpp b/pcsx2/VUmicro.cpp index 70952f7a12..82bbe8bca8 100644 --- a/pcsx2/VUmicro.cpp +++ b/pcsx2/VUmicro.cpp @@ -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);