summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-05-23 14:58:36 +1000
committer Vas Crabb <vas@vastheman.com>2017-05-23 15:01:11 +1000
commit96c9112785e158a267443831fe9f3fa857d60b14 (patch)
tree5f027f0db703571fce112e5d695553c5ea6dac69 /src/emu/debug/debugcpu.cpp
parent6e04e04b46fae6c0c09dd1d0603d585039a93889 (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/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index 3fb5c2421ae..143159936bf 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -202,7 +202,7 @@ void debugger_cpu::source_script(const char *file)
m_source_file = fopen(file, "r");
if (!m_source_file)
{
- if (m_machine.phase() == MACHINE_PHASE_RUNNING)
+ if (m_machine.phase() == machine_phase::RUNNING)
m_machine.debugger().console().printf("Cannot open command file '%s'\n", file);
else
fatalerror("Cannot open command file '%s'\n", file);