summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-05-31 11:34:34 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-05-31 11:34:34 -0400
commit82f6d12391caa91d570dbffd3f3a34c396dbbace (patch)
tree02d286ba9b77265f4d4504630aa7459fd5df60b8 /src
parentea1c8d187e9b0b8812a10162b292a1f5368429ee (diff)
Eliminate space.device() in watchpoint code (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/debug/points.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/points.cpp b/src/emu/debug/points.cpp
index 1cde2bbf486..331b7449d1e 100644
--- a/src/emu/debug/points.cpp
+++ b/src/emu/debug/points.cpp
@@ -379,9 +379,9 @@ void debug_watchpoint::triggered(read_or_write type, offs_t address, u64 data, u
data,
address);
- if (debug.cpu().live_cpu() == &m_space.device())
+ if (debug.cpu().live_cpu() == &m_debugInterface->device())
{
- offs_t pc = m_space.device().state().pcbase();
+ offs_t pc = m_debugInterface->device().state().pcbase();
debug.console().printf("%s (PC=%X)\n", buffer, pc);
m_debugInterface->compute_debug_flags();
}
@@ -389,7 +389,7 @@ void debug_watchpoint::triggered(read_or_write type, offs_t address, u64 data, u
{
debug.console().printf("%s\n", buffer);
debug.cpu().set_execution_running();
- debug.cpu().set_break_cpu(&m_space.device());
+ debug.cpu().set_break_cpu(&m_debugInterface->device());
}
m_debugInterface->set_triggered_watchpoint(this);
}