diff options
author | Vas Crabb <vas@vastheman.com> | 2020-11-30 12:01:14 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-11-30 12:01:14 +1100 |
commit | 1bdf8d272a32d161e11c96984bf3614de3210003 (patch) | |
tree | aca314836043ffb5303de52ceaba860bf0860133 /src/emu/debug/debugcpu.cpp | |
parent | f3454cee2f5fbfff068f53c3716ba187ea4b1492 (diff) |
frontend: Lua engine improvements.
Added methods for enabling and disabling breakpoints and watchpoints,
and made debugger views update when breakpoints/watchpoints are
manipulated from Lua. Made breakpoints and watchpoints objects rather
than tables. (It’s not possible to enable/disable a breakpoint or
watchpoint from the object itself, you have to go through its owners'
debug interface.)
Exposed more device_t members for dealing with child/sibling tags and
devices. Also provided a way to get regions/shares/banks from a device
using relative tags rather than going through the memory manager with
absolute tags.
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; } } } |