diff options
| author | 2017-05-23 14:58:36 +1000 | |
|---|---|---|
| committer | 2017-05-23 15:01:11 +1000 | |
| commit | 96c9112785e158a267443831fe9f3fa857d60b14 (patch) | |
| tree | 5f027f0db703571fce112e5d695553c5ea6dac69 /src/emu/debug/debugcon.cpp | |
| parent | 6e04e04b46fae6c0c09dd1d0603d585039a93889 (diff) | |
general cleanup:
* move rarely-used output and pty interfaces out of emu.h
* consolidate and de-duplicate forward declarations, also remove some obsolete ones
* clean up more #include guard macros
* scope down a few more things
(nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h -
this will make it far easier to keep them in sync with declarations than having
them scattered through all the other files.
Diffstat (limited to 'src/emu/debug/debugcon.cpp')
| -rw-r--r-- | src/emu/debug/debugcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcon.cpp b/src/emu/debug/debugcon.cpp index f8f0832d102..fa4ac6a7a5e 100644 --- a/src/emu/debug/debugcon.cpp +++ b/src/emu/debug/debugcon.cpp @@ -373,7 +373,7 @@ CMDERR debugger_console::validate_command(const char *command) void debugger_console::register_command(const char *command, u32 flags, int ref, int minparams, int maxparams, std::function<void(int, const std::vector<std::string> &)> handler) { - assert_always(m_machine.phase() == MACHINE_PHASE_INIT, "Can only call register_command() at init time!"); + assert_always(m_machine.phase() == machine_phase::INIT, "Can only call register_command() at init time!"); assert_always((m_machine.debug_flags & DEBUG_FLAG_ENABLED) != 0, "Cannot call register_command() when debugger is not running"); debug_command *cmd = auto_alloc_clear(m_machine, <debug_command>()); |
