diff options
author | bunnei <bunneidev@gmail.com> | 2015-02-26 21:27:16 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-02-26 21:27:16 +0100 |
commit | 2dac2ea3894677a6241faf8ba85d8c80e2fe73cb (patch) | |
tree | 68f847d3df6dbccdfcbdd91d8c4d1b2f54b42819 /src/core | |
parent | Merge pull request #612 from yuriks/fix-A4 (diff) | |
parent | arm: The CP15 Main ID register is not writeable (diff) | |
download | yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar.gz yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar.bz2 yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar.lz yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar.xz yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.tar.zst yuzu-2dac2ea3894677a6241faf8ba85d8c80e2fe73cb.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp index 3b508f617..d8a708b9e 100644 --- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp +++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp @@ -4709,9 +4709,7 @@ unsigned InterpreterMainLoop(ARMul_State* state) { DEBUG_MSG; } else { if (inst_cream->cp_num == 15) { - if(CRn == 0 && OPCODE_2 == 0 && CRm == 0) { - CP15_REG(CP15_MAIN_ID) = RD; - } else if(CRn == 1 && CRm == 0 && OPCODE_2 == 0) { + if (CRn == 1 && CRm == 0 && OPCODE_2 == 0) { CP15_REG(CP15_CONTROL) = RD; } else if (CRn == 1 && CRm == 0 && OPCODE_2 == 1) { CP15_REG(CP15_AUXILIARY_CONTROL) = RD; |