summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-07 15:53:29 +0100
committerbunnei <bunneidev@gmail.com>2015-01-07 15:53:29 +0100
commit317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2 (patch)
tree7ebac1ee8a065cd44d107190a0665360d8ab9bcb /src
parentMerge pull request #434 from lioncash/sm (diff)
parentdyncom: Fix SWPB (diff)
downloadyuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar.gz
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar.bz2
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar.lz
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar.xz
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.tar.zst
yuzu-317fe1e52880de91f19e7ee3cf89f8a9f9a17ad2.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 64264fac8..426fc6474 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -6322,6 +6322,7 @@ unsigned InterpreterMainLoop(ARMul_State* state) {
addr = RN;
unsigned int value = Memory::Read8(addr);
Memory::Write8(addr, (RM & 0xFF));
+ RD = value;
}
cpu->Reg[15] += GET_INST_SIZE(cpu);
INC_PC(sizeof(swp_inst));