summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm8500/sm8500.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-09-27 14:24:33 +0100
committer smf- <smf-@users.noreply.github.com>2016-09-27 14:26:27 +0100
commit1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch)
treedb6f7a7442ccc924049e3354c8cded6d62071ecd /src/devices/cpu/sm8500/sm8500.cpp
parent3957d89e4466d87f86a42597a49db12a7c040520 (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/sm8500/sm8500.cpp')
-rw-r--r--src/devices/cpu/sm8500/sm8500.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/sm8500/sm8500.cpp b/src/devices/cpu/sm8500/sm8500.cpp
index dff83dbd9f4..071c7ee56cf 100644
--- a/src/devices/cpu/sm8500/sm8500.cpp
+++ b/src/devices/cpu/sm8500/sm8500.cpp
@@ -134,7 +134,8 @@ void sm8500_cpu_device::device_start()
state_add(SM8500_RR10, "RR10", m_PC ).callimport().callexport().formatstr("%04s");
state_add(SM8500_RR12, "RR12", m_PC ).callimport().callexport().formatstr("%04s");
state_add(SM8500_RR14, "RR14", m_PC ).callimport().callexport().formatstr("%04s");
- state_add(STATE_GENPC, "curpc", m_PC).callimport().callexport().formatstr("%8s").noshow();
+ state_add(STATE_GENPC, "GENPC", m_PC).formatstr("%8s").noshow();
+ state_add(STATE_GENPCBASE, "CURPC", m_PC).formatstr("%8s").noshow();
state_add(STATE_GENFLAGS, "GENFLAGS", m_PS1).formatstr("%8s").noshow();
m_icountptr = &m_icount;