diff options
Diffstat (limited to 'src/emu/debug/dvbpoints.c')
-rw-r--r-- | src/emu/debug/dvbpoints.c | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/src/emu/debug/dvbpoints.c b/src/emu/debug/dvbpoints.c index 9b48bc96787..5619adff0bd 100644 --- a/src/emu/debug/dvbpoints.c +++ b/src/emu/debug/dvbpoints.c @@ -73,26 +73,6 @@ void debug_view_breakpoints::enumerate_sources() //------------------------------------------------- -// view_notify - handle notification of updates -// to cursor changes -//------------------------------------------------- - -void debug_view_breakpoints::view_notify(debug_view_notification type) -{ -} - - -//------------------------------------------------- -// view_char - handle a character typed within -// the current view -//------------------------------------------------- - -void debug_view_breakpoints::view_char(int chval) -{ -} - - -//------------------------------------------------- // view_click - handle a mouse click within the // current view //------------------------------------------------- @@ -134,7 +114,7 @@ void debug_view_breakpoints::view_click(const int button, const debug_view_xy& p device_debug::breakpoint** bpList = NULL; const int numBPs = breakpoints(SORT_NONE, bpList); - const int bpIndex = pos.y-1; + const int bpIndex = pos.y - 1; if (bpIndex > numBPs || bpIndex < 0) return; @@ -147,7 +127,9 @@ void debug_view_breakpoints::view_click(const int button, const debug_view_xy& p delete[] bpList; } - view_update(); + begin_update(); + m_update_pending = true; + end_update(); } @@ -331,7 +313,7 @@ int debug_view_breakpoints::breakpoints(SortMode sort, device_debug::breakpoint* //------------------------------------------------- // view_update - update the contents of the -// disassembly view +// breakpoints view //------------------------------------------------- void debug_view_breakpoints::view_update() |