summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-13 23:26:02 +0200
committerbunnei <bunneidev@gmail.com>2015-05-13 23:26:02 +0200
commit9e8b703b5e83d34c452b7c34af5be09755b3843f (patch)
treed1d4b3751d707cd5ac4f2566b4c98cef44b1290b /src
parentMerge pull request #707 from linkmauve/freedesktop (diff)
parentdyncom: Fix decoding of BKPT's immediate (diff)
downloadyuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar.gz
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar.bz2
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar.lz
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar.xz
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.tar.zst
yuzu-9e8b703b5e83d34c452b7c34af5be09755b3843f.zip
Diffstat (limited to 'src')
-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;
}