mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-24 19:38:32 -06:00
Fix conditional bcctr.
This commit is contained in:
parent
ae4420e604
commit
54827f7267
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user