Previous 199869 Revisions Next

r36057 Sunday 22nd February, 2015 at 17:23:12 UTC by Vasantha Crabb
Make opening a break/watchpoints window work better if there are already ten or more of them
[/branches/kale/src/emu/debug]dvbpoints.c dvwpoints.c

branches/kale/src/emu/debug/dvbpoints.c
r244568r244569
3232   enumerate_sources();
3333   if (m_source_list.count() == 0)
3434      throw std::bad_alloc();
35
36   // configure the view
37   m_total.y = 10;
38   m_supports_cursor = false;
3935}
4036
4137
r244568r244569
325321   const int numBPs = breakpoints(SORT_NONE, bpList);
326322
327323   // Set the view region so the scroll bars update
328   m_total.y = numBPs+1;
324   m_total.y = numBPs + 1;
325   if (m_total.y < 10)
326      m_total.y = 10;
329327
330328   // Draw
331329   debug_view_char *dest = m_viewdata;
branches/kale/src/emu/debug/dvwpoints.c
r244568r244569
3131   enumerate_sources();
3232   if (m_source_list.count() == 0)
3333      throw std::bad_alloc();
34
35   // configure the view
36   m_total.y = 10;
37   m_supports_cursor = false;
3834}
3935
4036
r244568r244569
379375   const int numWPs = watchpoints(SORT_NONE, wpList);
380376
381377   // Set the view region so the scroll bars update
382   m_total.y = numWPs+1;
378   m_total.y = numWPs + 1;
379   if (m_total.y < 10)
380      m_total.y = 10;
383381
384382   // Draw
385383   debug_view_char *dest = m_viewdata;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team