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,9 +58,9 @@ void BaseVUmicroCPU::ExecuteBlock(bool startUp) {
|
||||||
void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) {
|
void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) {
|
||||||
const u32& stat = VU0.VI[REG_VPU_STAT].UL;
|
const u32& stat = VU0.VI[REG_VPU_STAT].UL;
|
||||||
const int test = cpu->m_Idx ? 0x100 : 1;
|
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
|
if (stat & test) { // VU is running
|
||||||
cpu->Execute(c); // Execute VU
|
cpu->Execute(c); // Execute VU
|
||||||
if (stat & test) {
|
if (stat & test) {
|
||||||
cpu->m_lastEEcycles+=(c*2);
|
cpu->m_lastEEcycles+=(c*2);
|
||||||
cpuSetNextBranchDelta(c*2);
|
cpuSetNextBranchDelta(c*2);
|
||||||
|
@ -96,7 +96,7 @@ void BaseVUmicroCPU::ExecuteBlock(bool startUp) {
|
||||||
// This function is called by VU0 Macro (COP2) after transferring
|
// This function is called by VU0 Macro (COP2) after transferring
|
||||||
// EE data to a VU0 register...
|
// EE data to a VU0 register...
|
||||||
void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) {
|
void __fastcall BaseVUmicroCPU::ExecuteBlockJIT(BaseVUmicroCPU* cpu) {
|
||||||
cpu->Execute(1024);
|
cpu->Execute(128);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue