summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r--src/emu/debug/debugcpu.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp
index e2a3469ddb0..71037bb1dc1 100644
--- a/src/emu/debug/debugcpu.cpp
+++ b/src/emu/debug/debugcpu.cpp
@@ -1829,13 +1829,13 @@ void device_debug::suspend(bool suspend)
assert(m_exec != nullptr);
if (suspend) {
- m_flags |= DEBUG_FLAG_SUSPENDED;
- m_exec->suspend(SUSPEND_REASON_HALT, 1);
- }
+ m_flags |= DEBUG_FLAG_SUSPENDED;
+ m_exec->suspend(SUSPEND_REASON_HALT, 1);
+ }
else {
- m_flags &= ~DEBUG_FLAG_SUSPENDED;
- m_exec->resume(SUSPEND_REASON_HALT);
- }
+ m_flags &= ~DEBUG_FLAG_SUSPENDED;
+ m_exec->resume(SUSPEND_REASON_HALT);
+ }
if (&m_device == m_device.machine().debugger().cpu().live_cpu() && suspend)
{