diff options
| author | 2018-04-22 09:24:13 +1000 | |
|---|---|---|
| committer | 2018-04-22 09:24:13 +1000 | |
| commit | ac79c9060733a5db9703bb39af3224ecc7b5bd7d (patch) | |
| tree | 397ae99da2388578923a93b7d6f069b4ae28723b /src/emu/debug/debugcpu.cpp | |
| parent | 137969abf59bcf443d037cdfc810c9b65af554ba (diff) | |
srcclean (nw)
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
| -rw-r--r-- | src/emu/debug/debugcpu.cpp | 12 |
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) { |
