diff options
author | 2018-07-26 14:41:14 -0400 | |
---|---|---|
committer | 2018-07-26 14:41:14 -0400 | |
commit | 8de41654fafdf4311034331e48a7e2723a3ea3ca (patch) | |
tree | b6a07258c35f189f137dbfe29a5034c89800bd88 /src/emu/debug/debugcmd.cpp | |
parent | 6024c958b978b9d470ac7261257e5d2312f92178 (diff) |
debugcpu.cpp: Move scripting functions down into console (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::string> &pa void debugger_commands::execute_source(int ref, const std::vector<std::string> ¶ms) { - m_cpu.source_script(params[0].c_str()); + m_console.source_script(params[0].c_str()); } |