From 8de41654fafdf4311034331e48a7e2723a3ea3ca Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 26 Jul 2018 14:41:14 -0400 Subject: debugcpu.cpp: Move scripting functions down into console (nw) --- src/emu/debug/debugcmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/debug/debugcmd.cpp') diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index f253235f714..4dc4844ae6c 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -294,7 +294,7 @@ debugger_commands::debugger_commands(running_machine& machine, debugger_cpu& cpu /* set up the initial debugscript if specified */ const char* name = m_machine.options().debug_script(); if (name[0] != 0) - m_cpu.source_script(name); + m_console.source_script(name); m_cheat.cpu[0] = m_cheat.cpu[1] = 0; } @@ -3094,7 +3094,7 @@ void debugger_commands::execute_snap(int ref, const std::vector &pa void debugger_commands::execute_source(int ref, const std::vector ¶ms) { - m_cpu.source_script(params[0].c_str()); + m_console.source_script(params[0].c_str()); } -- cgit v1.2.3