summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-05-22 20:48:04 +0000
committerSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-05-22 20:48:04 +0000
commite9b40f5fc9ccd46607a028b1fd89bc8c7b6e12a9 (patch)
treeb1f4d69d1b8c29e46ecb9b96422bb8853d3052bb
parent071c83ecdf11a22ea4a045be6c87d849a21c8f38 (diff)
downloadpcsxr-e9b40f5fc9ccd46607a028b1fd89bc8c7b6e12a9.tar.gz
Dynarec64: fixed CART World Series freeze. Issue #10846.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@84871 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rwxr-xr-xlibpcsxcore/ix86_64/iR3000A-64.c5
1 files changed, 5 insertions, 0 deletions
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];