From 28bd1fcb797ea86e92eea358c124eede6bdf62c0 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Tue, 7 Sep 2010 00:55:05 +0000 Subject: ported the change in r56828 to dynarec (is the check in psxBASIC() really necessary?), removed powerpc dynarec (cannot test and likely broken). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56896 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/ix86_64/iR3000A-64.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libpcsxcore/ix86_64') diff --git a/libpcsxcore/ix86_64/iR3000A-64.c b/libpcsxcore/ix86_64/iR3000A-64.c index 4ca3e996..23ccea49 100644 --- a/libpcsxcore/ix86_64/iR3000A-64.c +++ b/libpcsxcore/ix86_64/iR3000A-64.c @@ -521,7 +521,13 @@ static void recCOP0() { //REC_SYS(COP2); #if 1 static void recCOP2() { - recCP2[_Funct_](); + MOV32MtoR(EAX, (uptr)&psxRegs.CP0.n.Status); + AND32ItoR(EAX, 0x40000000); + j8Ptr[31] = JZ8(0); + + recCP2[_Funct_](); + + x86SetJ8(j8Ptr[31]); } #endif -- cgit v1.2.3