From 05ce8afd6a329ac93784855da9b8898c3bc471cf Mon Sep 17 00:00:00 2001 From: cottonvibes Date: Sat, 27 Feb 2010 01:21:29 +0000 Subject: [PATCH] Comment by ramapcsx2: In ExecuteBlockJIT(), set the running time lower for a big speedup in Ratchet and Clank :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2650 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/VUmicro.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcsx2/VUmicro.cpp b/pcsx2/VUmicro.cpp index 193fec65f4..2ed4b0d2b9 100644 --- a/pcsx2/VUmicro.cpp +++ b/pcsx2/VUmicro.cpp @@ -58,9 +58,9 @@ void BaseVUmicroCPU::ExecuteBlock(bool startUp) { void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) { const u32& stat = VU0.VI[REG_VPU_STAT].UL; const int test = cpu->m_Idx ? 0x100 : 1; - const int c = 1024*1; // VU Execution Cycles - if (stat & test) { // VU is running - cpu->Execute(c); // Execute VU + const int c = 128; // VU Execution Cycles + if (stat & test) { // VU is running + cpu->Execute(c); // Execute VU if (stat & test) { cpu->m_lastEEcycles+=(c*2); cpuSetNextBranchDelta(c*2); @@ -96,7 +96,7 @@ void BaseVUmicroCPU::ExecuteBlock(bool startUp) { // This function is called by VU0 Macro (COP2) after transferring // EE data to a VU0 register... void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) { - cpu->Execute(1024); + cpu->Execute(128); } #endif