From 54827f7267fa00aac7204541a75d346107b67683 Mon Sep 17 00:00:00 2001 From: Andrew Church Date: Sun, 18 Jan 2015 07:01:16 +0900 Subject: [PATCH] Fix conditional bcctr. --- 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 460cf632a3..bc03684860 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.h +++ b/rpcs3/Emu/Cell/PPUInterpreter.h @@ -2243,7 +2243,7 @@ private: } void BCCTR(u32 bo, u32 bi, u32 bh, u32 lk) { - if(bo & 0x10 || CPU.IsCR(bi) == (bo & 0x8)) + if(bo & 0x10 || CPU.IsCR(bi) == ((bo & 0x8) != 0)) { const u32 nextLR = CPU.PC + 4; CPU.SetBranch(branchTarget(0, (u32)CPU.CTR), true);