diff options
| author | 2015-03-08 21:46:54 -0400 | |
|---|---|---|
| committer | 2015-03-08 21:46:57 -0400 | |
| commit | e37425b380fbc84ec40fab3ff13b7b212b588e72 (patch) | |
| tree | d6aa7f4e2b169394bbddaf7c0e639c4ec89f1aef /src | |
| parent | Merge pull request #639 from archshift/appbundle (diff) | |
| download | yuzu-e37425b380fbc84ec40fab3ff13b7b212b588e72.tar.gz yuzu-e37425b380fbc84ec40fab3ff13b7b212b588e72.tar.xz yuzu-e37425b380fbc84ec40fab3ff13b7b212b588e72.zip | |
dyncom: Increment addr when accessing LR in LDM
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp index c3dba8882..81ab5cd21 100644 --- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp +++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp | |||
| @@ -4362,6 +4362,8 @@ unsigned InterpreterMainLoop(ARMul_State* state) { | |||
| 4362 | cpu->Reg[14] = Memory::Read32(addr); | 4362 | cpu->Reg[14] = Memory::Read32(addr); |
| 4363 | else | 4363 | else |
| 4364 | cpu->Reg_usr[1] = Memory::Read32(addr); | 4364 | cpu->Reg_usr[1] = Memory::Read32(addr); |
| 4365 | |||
| 4366 | addr += 4; | ||
| 4365 | } | 4367 | } |
| 4366 | } else if (!BIT(inst, 22)) { | 4368 | } else if (!BIT(inst, 22)) { |
| 4367 | for(int i = 0; i < 16; i++ ){ | 4369 | for(int i = 0; i < 16; i++ ){ |