aboutsummaryrefslogtreecommitdiff
path: root/src/ARMInterpreter_Branch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMInterpreter_Branch.cpp')
-rw-r--r--src/ARMInterpreter_Branch.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ARMInterpreter_Branch.cpp b/src/ARMInterpreter_Branch.cpp
index 740375d..5e2ef2c 100644
--- a/src/ARMInterpreter_Branch.cpp
+++ b/src/ARMInterpreter_Branch.cpp
@@ -66,6 +66,8 @@ void T_BCOND(ARM* cpu)
s32 offset = (s32)(cpu->CurInstr << 24) >> 23;
cpu->JumpTo(cpu->R[15] + offset + 1);
}
+ else
+ cpu->AddCycles_C();
}
void T_BX(ARM* cpu)
@@ -96,6 +98,7 @@ void T_BL_LONG_1(ARM* cpu)
{
s32 offset = (s32)((cpu->CurInstr & 0x7FF) << 21) >> 9;
cpu->R[14] = cpu->R[15] + offset;
+ cpu->AddCycles_C();
}
void T_BL_LONG_2(ARM* cpu)