summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/cp1610
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-09-27 14:24:33 +0100
committer Vas Crabb <vas@vastheman.com>2016-09-28 17:45:37 +1000
commitfd279ffffaba099464a584b52c7b5436305493e5 (patch)
tree31fdd998bc915b83a27f6ea1fbae29f662b32917 /src/devices/cpu/cp1610
parent1de6465b1837b2dc391dcbe90df23a9c8427c750 (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/cp1610')
-rw-r--r--src/devices/cpu/cp1610/cp1610.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/cp1610/cp1610.cpp b/src/devices/cpu/cp1610/cp1610.cpp
index f882d4a73ac..fa3ef8a1d4b 100644
--- a/src/devices/cpu/cp1610/cp1610.cpp
+++ b/src/devices/cpu/cp1610/cp1610.cpp
@@ -3359,7 +3359,8 @@ void cp1610_cpu_device::device_start()
state_add( CP1610_R5, "R5", m_r[5] ).formatstr("%04X");
state_add( CP1610_R6, "R6", m_r[6] ).formatstr("%04X");
state_add( CP1610_R7, "R7", m_r[7] ).formatstr("%04X");
- state_add( STATE_GENPC, "curpc", m_r[7] ).noshow();
+ state_add( STATE_GENPC, "GENPC", m_r[7] ).noshow();
+ state_add( STATE_GENPCBASE, "CURPC", m_r[7]).noshow();
state_add( STATE_GENFLAGS, "GENFLAGS", m_flags ).noshow();
m_icountptr = &m_icount;