mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-11 16:49:35 +01:00
Fix conditional bcctr.
This commit is contained in:
1 parent
ae4420e604
commit
54827f7267
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user