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/debugcon.h | |
| parent | 6024c958b978b9d470ac7261257e5d2312f92178 (diff) | |
debugcpu.cpp: Move scripting functions down into console (nw)
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 |
