summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcon.h
diff options
context:
space:
mode:
author Stevie-O <stevie@qrpff.net>2020-06-06 11:31:33 -0400
committer GitHub <noreply@github.com>2020-06-07 01:31:33 +1000
commit8b021e8bf3aa30abd9e9d2d88d2d00a935bc9a4a (patch)
treec90a08efb5bc4d8204e3b72eca08a9fec8162e80 /src/emu/debug/debugcon.h
parentfe2802711c29b37272c2e05a1c61ba04ffbf1435 (diff)
Debugger: add `condump` command to export console buffer to a log file (#6781)
This is another debugger enhancement -- it allows you to export the current contents of the debug console window to a file. The filename parsing is based on the `trace` command, and as such, supports both the "{game}" placeholder, and the ">>" prefix for appending instead of overwriting.
Diffstat (limited to 'src/emu/debug/debugcon.h')
-rw-r--r--src/emu/debug/debugcon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/debug/debugcon.h b/src/emu/debug/debugcon.h
index 3979393f836..949b236774a 100644
--- a/src/emu/debug/debugcon.h
+++ b/src/emu/debug/debugcon.h
@@ -117,6 +117,7 @@ private:
void exit();
void execute_help_custom(int ref, const std::vector<std::string> &params);
+ void execute_condump(int ref, const std::vector<std::string>& params);
void trim_parameter(char **paramptr, bool keep_quotes);
CMDERR internal_execute_command(bool execute, int params, char **param);