summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-06-11 02:06:17 -0700
committerDuncan Smith2010-06-11 02:06:17 -0700
commit027fd9fc3ec29ba69ad7e52358519e4835ba5c3a (patch)
treeefc250f35ba63c24d11367ea2c47e0e04e708209 /main.asm
parented1a9afb5f6d663ea29c42ab3b9c1f66ade60048 (diff)
Now RET should be correct ... stupid mistake.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index 21cf5d9..b240f9c 100644
--- a/main.asm
+++ b/main.asm
@@ -1809,9 +1809,11 @@ emu_op_c9:
;; SP <- (SP+2)
swap d2
FETCHB d2,d1
- addq.b #1,emu_sp
+ addq.b #1,d2
+ LOHI d1
FETCHB d2,d1
- addq.b #1,emu_sp
+ HILO d1
+ addq.b #1,d2
swap d2
move.w d1,d2
DONE