summaryrefslogtreecommitdiffstats
path: root/src/osd/modules/debugger/none.cpp
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-06-08 08:10:55 +1000
committer Vas Crabb <vas@vastheman.com>2016-06-08 08:10:55 +1000
commit56bd36c5ef3960874628bc08cbfcedf4c6057a19 (patch)
tree3cce04b8c27b773befde51785210bc83673f9fd0 /src/osd/modules/debugger/none.cpp
parentbf281b3cad1d05c6ef863fa179d3d6ab442a163c (diff)
Major refactoring of debugger core [Ryan Holtz]
* Eliminate globals/file statics * Remove lots of stuff from global scope * Use std::function for custom command registration * Eliminate some trampolines * Build fixes from Vas Crabb and balr0g
Diffstat (limited to 'src/osd/modules/debugger/none.cpp')
-rw-r--r--src/osd/modules/debugger/none.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/none.cpp b/src/osd/modules/debugger/none.cpp
index 27157bbee1b..70252a4057c 100644
--- a/src/osd/modules/debugger/none.cpp
+++ b/src/osd/modules/debugger/none.cpp
@@ -10,6 +10,7 @@
#include "modules/osdmodule.h"
#include "debug/debugcpu.h"
+#include "debugger.h"
class debug_none : public osd_module, public debug_module
{
@@ -40,7 +41,7 @@ void debug_none::init_debugger(running_machine &machine)
void debug_none::wait_for_debugger(device_t &device, bool firststop)
{
- debug_cpu_get_visible_cpu(*m_machine)->debug()->go();
+ m_machine->debugger().cpu().get_visible_cpu()->debug()->go();
}
void debug_none::debugger_update()