summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502make.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6502make.py')
-rwxr-xr-xsrc/devices/cpu/m6502/m6502make.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/m6502make.py b/src/devices/cpu/m6502/m6502make.py
index 80a8603f098..ea51fe43350 100755
--- a/src/devices/cpu/m6502/m6502make.py
+++ b/src/devices/cpu/m6502/m6502make.py
@@ -229,7 +229,7 @@ def save_dasm(f, device, states):
extra = "0"
if opc in ["jsr", "bsr", "callf"]:
extra = "STEP_OVER"
- elif opc in ["rts", "rti", "rtn"]:
+ elif opc in ["rts", "rti", "rtn", "retf"]:
extra = "STEP_OUT"
emit(f, '\t{ "%s", DASM_%s, %s },' % (opc, mode, extra))
emit(f, DISASM_EPILOG % d)