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/sm8500/sm8500.cpp | |
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/sm8500/sm8500.cpp')
-rw-r--r-- | src/devices/cpu/sm8500/sm8500.cpp | 3 |
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; |