summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/dvdisasm.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/emu/debug/dvdisasm.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/emu/debug/dvdisasm.cpp')
-rw-r--r--src/emu/debug/dvdisasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp
index bc7ca2a2300..b793a7a553e 100644
--- a/src/emu/debug/dvdisasm.cpp
+++ b/src/emu/debug/dvdisasm.cpp
@@ -167,7 +167,7 @@ void debug_view_disasm::view_char(int chval)
case DCH_HOME: // set the active column to the PC
{
const debug_view_disasm_source &source = downcast<const debug_view_disasm_source &>(*m_source);
- offs_t pc = source.m_space.address_to_byte(source.device()->safe_pc()) & source.m_space.logbytemask();
+ offs_t pc = source.m_space.address_to_byte(source.device()->safe_pcbase()) & source.m_space.logbytemask();
// figure out which row the pc is on
for (unsigned int curline = 0; curline < m_byteaddress.size(); curline++)