mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Fix conditional bcctr.
This commit is contained in:
parent
ae4420e604
commit
54827f7267
1 changed files with 1 additions and 1 deletions
|
@ -2243,7 +2243,7 @@ private:
|
||||||
}
|
}
|
||||||
void BCCTR(u32 bo, u32 bi, u32 bh, u32 lk)
|
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;
|
const u32 nextLR = CPU.PC + 4;
|
||||||
CPU.SetBranch(branchTarget(0, (u32)CPU.CTR), true);
|
CPU.SetBranch(branchTarget(0, (u32)CPU.CTR), true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue