aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/rx.c')
-rw-r--r--sim/rx/rx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 17f5b46..247d624 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -1232,7 +1232,9 @@ decode_opcode ()
v = GS ();
if (v == 255)
{
- DO_RETURN (rx_syscall (regs.r[5]));
+ int rc = rx_syscall (regs.r[5]);
+ if (! RX_STEPPED (rc))
+ DO_RETURN (rc);
}
else
{