diff options
author | Lioncash <mathew1800@gmail.com> | 2015-03-24 14:55:56 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-03-24 14:55:56 +0100 |
commit | 2df10d228455659fbd94b83964654e3d6add551e (patch) | |
tree | a979ab8ee0ba3eb4f4480231016072742c4c25e0 /src/core/arm/dyncom/arm_dyncom_dec.cpp | |
parent | Merge pull request #656 from Subv/nz (diff) | |
download | yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar.gz yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar.bz2 yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar.lz yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar.xz yuzu-2df10d228455659fbd94b83964654e3d6add551e.tar.zst yuzu-2df10d228455659fbd94b83964654e3d6add551e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_dec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_dec.cpp b/src/core/arm/dyncom/arm_dyncom_dec.cpp index 9f3b90fd0..12181d0ec 100644 --- a/src/core/arm/dyncom/arm_dyncom_dec.cpp +++ b/src/core/arm/dyncom/arm_dyncom_dec.cpp @@ -413,7 +413,7 @@ int decode_arm_instr(uint32_t instr, int32_t *idx) { if (instr != arm_instruction[i].content[base + 2]) { break; } - } else if (BITS(arm_instruction[i].content[base], arm_instruction[i].content[base + 1]) != arm_instruction[i].content[base + 2]) { + } else if (BITS(instr, arm_instruction[i].content[base], arm_instruction[i].content[base + 1]) != arm_instruction[i].content[base + 2]) { break; } base += 3; @@ -429,7 +429,7 @@ int decode_arm_instr(uint32_t instr, int32_t *idx) { if (n != 0) { base = 0; while (n) { - if (BITS(arm_exclusion_code[i].content[base], arm_exclusion_code[i].content[base + 1]) != arm_exclusion_code[i].content[base + 2]) { + if (BITS(instr, arm_exclusion_code[i].content[base], arm_exclusion_code[i].content[base + 1]) != arm_exclusion_code[i].content[base + 2]) { break; } base += 3; |