diff --git a/src/emu/debug/dvbpoints.c b/src/emu/debug/dvbpoints.c index e97fe5ba449..cdd2cde2b32 100644 --- a/src/emu/debug/dvbpoints.c +++ b/src/emu/debug/dvbpoints.c @@ -32,10 +32,6 @@ debug_view_breakpoints::debug_view_breakpoints(running_machine &machine, debug_v enumerate_sources(); if (m_source_list.count() == 0) throw std::bad_alloc(); - - // configure the view - m_total.y = 10; - m_supports_cursor = false; } @@ -325,7 +321,9 @@ void debug_view_breakpoints::view_update() const int numBPs = breakpoints(SORT_NONE, bpList); // Set the view region so the scroll bars update - m_total.y = numBPs+1; + m_total.y = numBPs + 1; + if (m_total.y < 10) + m_total.y = 10; // Draw debug_view_char *dest = m_viewdata; diff --git a/src/emu/debug/dvwpoints.c b/src/emu/debug/dvwpoints.c index 8f16d57219b..2d60699d78d 100644 --- a/src/emu/debug/dvwpoints.c +++ b/src/emu/debug/dvwpoints.c @@ -31,10 +31,6 @@ debug_view_watchpoints::debug_view_watchpoints(running_machine &machine, debug_v enumerate_sources(); if (m_source_list.count() == 0) throw std::bad_alloc(); - - // configure the view - m_total.y = 10; - m_supports_cursor = false; } @@ -379,7 +375,9 @@ void debug_view_watchpoints::view_update() const int numWPs = watchpoints(SORT_NONE, wpList); // Set the view region so the scroll bars update - m_total.y = numWPs+1; + m_total.y = numWPs + 1; + if (m_total.y < 10) + m_total.y = 10; // Draw debug_view_char *dest = m_viewdata;