diff options
author | 2016-09-27 14:24:33 +0100 | |
---|---|---|
committer | 2016-09-28 17:45:37 +1000 | |
commit | fd279ffffaba099464a584b52c7b5436305493e5 (patch) | |
tree | 31fdd998bc915b83a27f6ea1fbae29f662b32917 /src/devices/cpu/upd7725 | |
parent | 1de6465b1837b2dc391dcbe90df23a9c8427c750 (diff) |
Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for everything in the debugger, which allows interruptible cpu's to work properly. [smf]
Diffstat (limited to 'src/devices/cpu/upd7725')
-rw-r--r-- | src/devices/cpu/upd7725/upd7725.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/upd7725/upd7725.cpp b/src/devices/cpu/upd7725/upd7725.cpp index 5641743ffb7..9564d380bc9 100644 --- a/src/devices/cpu/upd7725/upd7725.cpp +++ b/src/devices/cpu/upd7725/upd7725.cpp @@ -70,6 +70,7 @@ void necdsp_device::device_start() // register our state for the debugger state_add(STATE_GENPC, "GENPC", regs.pc).noshow(); + state_add(STATE_GENPCBASE, "CURPC", regs.pc).noshow(); state_add(UPD7725_PC, "PC", regs.pc); state_add(UPD7725_RP, "RP", regs.rp); state_add(UPD7725_DP, "DP", regs.dp); |