summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-06-25 15:16:48 +1000
committer Vas Crabb <vas@vastheman.com>2017-06-25 15:18:14 +1000
commitf31e73505343e3fe9cf9539b559e594035c4d9cb (patch)
treee2242311395c5987c5cf677f557c323c8bf99560 /src/emu/debug/debugcpu.cpp
parent4a57052b5f816aa15ee692df0f99958fbb5237c6 (diff)
srcclean (nw)
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp4
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 '//')