summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms32010
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/tms32010
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/tms32010')
-rw-r--r--src/devices/cpu/tms32010/tms32010.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/tms32010/tms32010.cpp b/src/devices/cpu/tms32010/tms32010.cpp
index 7625ff96646..146d95ab113 100644
--- a/src/devices/cpu/tms32010/tms32010.cpp
+++ b/src/devices/cpu/tms32010/tms32010.cpp
@@ -863,10 +863,10 @@ void tms32010_device::device_start()
state_add( TMS32010_STK3, "STK3", m_STACK[3]).formatstr("%04X");
state_add(STATE_GENPC, "GENPC", m_PC).formatstr("%04X").noshow();
+ state_add(STATE_GENPCBASE, "CURPC", m_PREVPC).formatstr("%04X").noshow();
/* This is actually not a stack pointer, but the stack contents */
state_add(STATE_GENSP, "GENSP", m_STACK[3]).formatstr("%04X").noshow();
state_add(STATE_GENFLAGS, "GENFLAGS", m_STR).formatstr("%16s").noshow();
- state_add(STATE_GENPCBASE, "GENPCBASE", m_PREVPC).formatstr("%04X").noshow();
m_icountptr = &m_icount;
}