diff options
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 1b48be30e1f..6c1db21dba6 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -137,6 +137,7 @@ debugger_commands::debugger_commands(running_machine& machine, debugger_cpu& cpu /* add all the commands */ m_console.register_command("help", CMDFLAG_NONE, 0, 0, 1, std::bind(&debugger_commands::execute_help, this, _1, _2)); + m_console.register_command("html", CMDFLAG_NONE, 0, 0, 0, std::bind(&debugger_commands::execute_html, this, _1, _2)); m_console.register_command("print", CMDFLAG_NONE, 0, 1, MAX_COMMAND_PARAMS, std::bind(&debugger_commands::execute_print, this, _1, _2)); m_console.register_command("printf", CMDFLAG_NONE, 0, 1, MAX_COMMAND_PARAMS, std::bind(&debugger_commands::execute_printf, this, _1, _2)); m_console.register_command("logerror", CMDFLAG_NONE, 0, 1, MAX_COMMAND_PARAMS, std::bind(&debugger_commands::execute_logerror, this, _1, _2)); @@ -554,6 +555,19 @@ void debugger_commands::execute_help(int ref, const std::vector<std::string> &pa /*------------------------------------------------- + execute_html - generate debughelp.html +-------------------------------------------------*/ + +void debugger_commands::execute_html(int ref, const std::vector<std::string> ¶ms) +{ + if (debug_generate_html()) + m_console.printf("debughelp.html has been successfully created.\n"); + else + m_console.printf("Error creating debughelp.html."); +} + + +/*------------------------------------------------- execute_print - execute the print command -------------------------------------------------*/ |