From e9b40f5fc9ccd46607a028b1fd89bc8c7b6e12a9 Mon Sep 17 00:00:00 2001 From: "SND\\ckain_cp" Date: Wed, 22 May 2013 20:48:04 +0000 Subject: Dynarec64: fixed CART World Series freeze. Issue #10846. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@84871 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/ix86_64/iR3000A-64.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpcsxcore') diff --git a/libpcsxcore/ix86_64/iR3000A-64.c b/libpcsxcore/ix86_64/iR3000A-64.c index 91b7c1bb..e32958f1 100755 --- a/libpcsxcore/ix86_64/iR3000A-64.c +++ b/libpcsxcore/ix86_64/iR3000A-64.c @@ -1608,6 +1608,11 @@ static void recLW() { MOV32RtoM((uptr)&psxRegs.GPR.r[_Rt_], EAX); } // ADD32ItoR(ESP, 4); + + // Delay is memread delay + 1 cycle. + // Seems to work nicely with games that require cycle accuracy like CART World Series. + // TODO: this could be needed with other L ops such as LB. + INC32M((uptr)&psxRegs.cycle); } extern u32 LWL_MASK[4]; -- cgit v1.2.3