summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2016-10-22 17:39:37 -0400
committer Scott Stone <tafoid@gmail.com>2016-10-22 17:39:37 -0400
commit716d5d9073b04ac76ffe35076515a758c1ac3cac (patch)
tree40dcfb11797a7b4ea03e2bc6efb2f7ea431c991c
parentd9ae40b9feff3d3de30cb27af5be672fc950888b (diff)
Fix copy/paste error per Mooglyguy (nw)
-rw-r--r--src/devices/cpu/arm7/arm7thmb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/arm7/arm7thmb.cpp b/src/devices/cpu/arm7/arm7thmb.cpp
index 4c5fd62a1ae..cd8c81ddfea 100644
--- a/src/devices/cpu/arm7/arm7thmb.cpp
+++ b/src/devices/cpu/arm7/arm7thmb.cpp
@@ -1208,7 +1208,7 @@ void arm7_cpu_device::tg0b_5(uint32_t pc, uint32_t op) /* PUSH {Rlist}{LR} */
if (op & (1 << offs))
{
SetRegister(13, GetRegister(13) - 4);
- WRITE32(GetRegister(13), GetRegister(GetRegister(offs)));
+ WRITE32(GetRegister(13), GetRegister(offs));
}
}
R15 += 2;