mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
5da01c90b9
commit
05ce8afd6a
|
@ -58,7 +58,7 @@ 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
|
||||
const int c = 128; // VU Execution Cycles
|
||||
if (stat & test) { // VU is running
|
||||
cpu->Execute(c); // Execute VU
|
||||
if (stat & test) {
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue