diff options
Diffstat (limited to 'src/emu/debug/debugcpu.cpp')
-rw-r--r-- | src/emu/debug/debugcpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index 3c325d3a841..e91a7801b3c 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -1669,7 +1669,7 @@ void device_debug::breakpoint_update_flags() break; } - if ( ! ( m_flags & DEBUG_FLAG_LIVE_BP ) ) + if (!(m_flags & DEBUG_FLAG_LIVE_BP)) { // see if there are any enabled registerpoints for (debug_registerpoint &rp : *m_rplist) @@ -1677,6 +1677,7 @@ void device_debug::breakpoint_update_flags() if (rp.m_enabled) { m_flags |= DEBUG_FLAG_LIVE_BP; + break; } } } |