mirror of https://github.com/PCSX2/pcsx2.git
Oops, forgot a __fastcall. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2323 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
949e5f8b60
commit
611444b9d5
|
@ -67,7 +67,7 @@ public:
|
||||||
// C++ Calling Conventions are unstable, and some compilers don't even allow us to take the
|
// C++ Calling Conventions are unstable, and some compilers don't even allow us to take the
|
||||||
// address of C++ methods. We need to use a wrapper function to invoke the ExecuteBlock from
|
// address of C++ methods. We need to use a wrapper function to invoke the ExecuteBlock from
|
||||||
// recompiled code.
|
// recompiled code.
|
||||||
static void ExecuteBlockFromRecs( BaseCpuProvider* cpu )
|
static void __fastcall ExecuteBlockFromRecs( BaseCpuProvider* cpu )
|
||||||
{
|
{
|
||||||
cpu->ExecuteBlock();
|
cpu->ExecuteBlock();
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,7 @@ static void recCTC2(s32 info)
|
||||||
|
|
||||||
MOV32ItoM((uptr)&VU0.VI[_Fs_].UL,g_cpuConstRegs[_Rt_].UL[0]);
|
MOV32ItoM((uptr)&VU0.VI[_Fs_].UL,g_cpuConstRegs[_Rt_].UL[0]);
|
||||||
iFlushCall(FLUSH_NOCONST);
|
iFlushCall(FLUSH_NOCONST);
|
||||||
xMOV(ecx, (uptr)&CpuVU0 );
|
xMOV(ecx, (uptr)CpuVU0 );
|
||||||
xCALL(BaseCpuProvider::ExecuteBlockFromRecs);
|
xCALL(BaseCpuProvider::ExecuteBlockFromRecs);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -337,7 +337,7 @@ static void recCTC2() {
|
||||||
// Executing vu0 block here fixes the intro of Rachet and Clank
|
// Executing vu0 block here fixes the intro of Rachet and Clank
|
||||||
// sVU's COP2 has a comment that "Donald Duck" needs this too...
|
// sVU's COP2 has a comment that "Donald Duck" needs this too...
|
||||||
if (_Rd_) _eeMoveGPRtoM((uptr)µVU0.regs->VI[_Rd_].UL, _Rt_);
|
if (_Rd_) _eeMoveGPRtoM((uptr)µVU0.regs->VI[_Rd_].UL, _Rt_);
|
||||||
xMOV(ecx, (uptr)&CpuVU0);
|
xMOV(ecx, (uptr)CpuVU0);
|
||||||
xCALL(BaseCpuProvider::ExecuteBlockFromRecs);
|
xCALL(BaseCpuProvider::ExecuteBlockFromRecs);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue