diff options
Diffstat (limited to 'src/emu/debug/debugcon.h')
-rw-r--r-- | src/emu/debug/debugcon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/debug/debugcon.h b/src/emu/debug/debugcon.h index 7cc1231d4c9..a64238ed8c6 100644 --- a/src/emu/debug/debugcon.h +++ b/src/emu/debug/debugcon.h @@ -80,6 +80,8 @@ public: CMDERR execute_command(const std::string &command, bool echo); CMDERR validate_command(const char *command); void register_command(const char *command, u32 flags, int ref, int minparams, int maxparams, std::function<void(int, const std::vector<std::string> &)> handler); + void source_script(const char *file); + void process_source_file(); /* console management */ void vprintf(util::format_argument_pack<std::ostream> const &args); @@ -132,6 +134,8 @@ private: text_buffer *m_errorlog_textbuf; debug_command *m_commandlist; + + std::unique_ptr<std::istream> m_source_file; // script source file }; #endif // MAME_EMU_DEBUG_DEBUGCON_H |