diff options
author | 2016-09-27 14:24:33 +0100 | |
---|---|---|
committer | 2016-09-27 14:26:27 +0100 | |
commit | 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch) | |
tree | db6f7a7442ccc924049e3354c8cded6d62071ecd /src/devices/cpu/hd61700 | |
parent | 3957d89e4466d87f86a42597a49db12a7c040520 (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/hd61700')
-rw-r--r-- | src/devices/cpu/hd61700/hd61700.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hd61700/hd61700.cpp b/src/devices/cpu/hd61700/hd61700.cpp index 55cdaefcd6e..ce96d03c699 100644 --- a/src/devices/cpu/hd61700/hd61700.cpp +++ b/src/devices/cpu/hd61700/hd61700.cpp @@ -186,8 +186,8 @@ void hd61700_cpu_device::device_start() state_add(HD61700_MAINREG + ireg, string_format("R%d", ireg).c_str(), m_regmain[ireg]).callimport().callexport().formatstr("%02X"); } - state_add(STATE_GENPC, "curpc", m_curpc).callimport().callexport().formatstr("%8s").noshow(); - state_add(STATE_GENPCBASE, "curpcbase", m_ppc).callimport().callexport().formatstr("%8s").noshow(); + state_add(STATE_GENPC, "GENPC", m_curpc).formatstr("%8s").noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_ppc).formatstr("%8s").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_flags).mask(0xff).formatstr("%8s").noshow(); // set our instruction counter |