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
This commit is contained in:
cottonvibes 2010-02-27 01:21:29 +00:00
parent 5da01c90b9
commit 05ce8afd6a
1 changed files with 4 additions and 4 deletions

View File

@ -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