diff options
| author | 2017-06-25 15:16:48 +1000 | |
|---|---|---|
| committer | 2017-06-25 15:18:14 +1000 | |
| commit | f31e73505343e3fe9cf9539b559e594035c4d9cb (patch) | |
| tree | e2242311395c5987c5cf677f557c323c8bf99560 /src/emu/debug/debugcpu.cpp | |
| parent | 4a57052b5f816aa15ee692df0f99958fbb5237c6 (diff) | |
srcclean (nw)
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
| -rw-r--r-- | src/emu/debug/debugcpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index 3335f19ff3e..084372a4b25 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -192,7 +192,7 @@ void debugger_cpu::source_script(const char *file) // close any existing source file m_source_file.reset(); - // open a new one if requested + // open a new one if requested if (file != nullptr) { auto source_file = std::make_unique<std::ifstream>(file, std::ifstream::in); @@ -875,7 +875,7 @@ void debugger_cpu::process_source_file() // loop until the file is exhausted or until we are executing again while (m_execution_state == EXECUTION_STATE_STOPPED - && m_source_file + && m_source_file && std::getline(*m_source_file, buf)) { // strip out comments (text after '//') |
