From e47d21024c0c9c561fa0f3a21b3b492b110b1db5 Mon Sep 17 00:00:00 2001 From: Andrew Church Date: Sun, 18 Jan 2015 07:01:25 +0900 Subject: [PATCH] Fix mtcrf. --- rpcs3/Emu/Cell/PPUInterpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.h b/rpcs3/Emu/Cell/PPUInterpreter.h index bc03684860..6b22273d14 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.h +++ b/rpcs3/Emu/Cell/PPUInterpreter.h @@ -2693,7 +2693,7 @@ private: { if(crm & (1 << i)) { - CPU.SetCR(7 - i, CPU.GPR[rs] & (0xf << (i * 4))); + CPU.SetCR(7 - i, (CPU.GPR[rs] >> (i * 4)) & 0xf); } } }