summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-11-19 22:14:09 +0000
committer smf- <smf-@users.noreply.github.com>2016-11-19 22:18:58 +0000
commit5f05fbf61348c65204fde1e2aeed72de4cb56593 (patch)
treee98dcf5c22a2f62424673d90fd9cee2ecfc6ec0d /src/emu/machine.cpp
parent53df201f3241d619ed62ff6fdb88a8939fb2be85 (diff)
moved debugger_access() from address space to machine & removed the anti-patterns that updated cascading address spaces. [smf]
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r--src/emu/machine.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index 91999a8307e..5ef806d2249 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -767,6 +767,16 @@ void running_machine::strlog(const char *str) const
//-------------------------------------------------
+// debugger_access - return true if the debugger
+// is accessing memory
+//-------------------------------------------------
+
+bool running_machine::debugger_access() const
+{
+ return m_debugger->cpu().debugger_access();
+}
+
+//-------------------------------------------------
// debug_break - breaks into the debugger, if
// enabled
//-------------------------------------------------