summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-13 20:10:56 +0200
committerLioncash <mathew1800@gmail.com>2015-05-13 20:11:03 +0200
commit832c130ed1c55c00b667651df0a6e6baa4e499c0 (patch)
treee6b799c0f4469cb667cf4e891c627898e2bd394e /src/core/arm
parentMerge pull request #756 from purpasmart96/ptm_service_changes (diff)
downloadyuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar.gz
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar.bz2
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar.lz
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar.xz
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.tar.zst
yuzu-832c130ed1c55c00b667651df0a6e6baa4e499c0.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 315b4cc91..8c52bdb72 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -1393,7 +1393,7 @@ static ARM_INST_PTR INTERPRETER_TRANSLATE(bkpt)(unsigned int inst, int index)
inst_base->br = NON_BRANCH;
inst_base->load_r15 = 0;
- inst_cream->imm = BITS(inst, 8, 19) | BITS(inst, 0, 3);
+ inst_cream->imm = (BITS(inst, 8, 19) << 4) | BITS(inst, 0, 3);
return inst_base;
}