summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-05 06:25:32 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-05 06:25:32 +0200
commit6cdad8390c20aed5c526916816388831d71213a2 (patch)
tree99db88c8052631a048a9593ecead774b4357c90d /src/core/arm
parentkernel: changed current default thread priority back to 0x30 - I think this is more correct (diff)
downloadyuzu-6cdad8390c20aed5c526916816388831d71213a2.tar
yuzu-6cdad8390c20aed5c526916816388831d71213a2.tar.gz
yuzu-6cdad8390c20aed5c526916816388831d71213a2.tar.bz2
yuzu-6cdad8390c20aed5c526916816388831d71213a2.tar.lz
yuzu-6cdad8390c20aed5c526916816388831d71213a2.tar.xz
yuzu-6cdad8390c20aed5c526916816388831d71213a2.tar.zst
yuzu-6cdad8390c20aed5c526916816388831d71213a2.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/interpreter/arm_interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/interpreter/arm_interpreter.cpp b/src/core/arm/interpreter/arm_interpreter.cpp
index 8030ec56a..0e893f182 100644
--- a/src/core/arm/interpreter/arm_interpreter.cpp
+++ b/src/core/arm/interpreter/arm_interpreter.cpp
@@ -98,7 +98,7 @@ u64 ARM_Interpreter::GetTicks() const {
* @param num_instructions Number of instructions to executes
*/
void ARM_Interpreter::ExecuteInstructions(int num_instructions) {
- state->NumInstrsToExecute = num_instructions;
+ state->NumInstrsToExecute = num_instructions - 1;
ARMul_Emulate32(state);
}