| Previous | 199869 Revisions | Next |
| r33940 Thursday 18th December, 2014 at 07:27:14 UTC by Fabrice Bellet |
|---|
| debug: dont update asm view in the start_hook() The curpc can be in the middle of an instruction being decoded, so it is not pertinent to recompute the disassembly starting from this address. |
| [src/emu/debug] | debugcpu.c debugvw.c debugvw.h |
| r242451 | r242452 | |
|---|---|---|
| 1731 | 1731 | // check for periodic updates |
| 1732 | 1732 | if (&m_device == global->visiblecpu && osd_ticks() > global->last_periodic_update_time + osd_ticks_per_second()/4) |
| 1733 | 1733 | { |
| 1734 | m_device.machine().debug_view().update_all(); | |
| 1734 | m_device.machine().debug_view().update_all_except(DVT_DISASSEMBLY); | |
| 1735 | 1735 | m_device.machine().debug_view().flush_osd_updates(); |
| 1736 | 1736 | global->last_periodic_update_time = osd_ticks(); |
| 1737 | 1737 | } |
| r242451 | r242452 | |
|---|---|---|
| 398 | 398 | |
| 399 | 399 | |
| 400 | 400 | //------------------------------------------------- |
| 401 | // update_all_except - force all views to refresh | |
| 402 | // except one | |
| 403 | //------------------------------------------------- | |
| 404 | ||
| 405 | void debug_view_manager::update_all_except(debug_view_type type) | |
| 406 | { | |
| 407 | // loop over each view and force an update | |
| 408 | for (debug_view *view = m_viewlist; view != NULL; view = view->next()) | |
| 409 | if (type == DVT_NONE || type != view->type()) | |
| 410 | view->force_update(); | |
| 411 | } | |
| 412 | ||
| 413 | ||
| 414 | //------------------------------------------------- | |
| 401 | 415 | // update_all - force all views to refresh |
| 402 | 416 | //------------------------------------------------- |
| 403 | 417 |
| r242451 | r242452 | |
|---|---|---|
| 240 | 240 | |
| 241 | 241 | // update helpers |
| 242 | 242 | void update_all(debug_view_type type = DVT_NONE); |
| 243 | void update_all_except(debug_view_type type = DVT_NONE); | |
| 243 | 244 | void flush_osd_updates(); |
| 244 | 245 | |
| 245 | 246 | private: |
| https://github.com/mamedev/mame/commit/195e3de0f2722db4e547ce7ad9c4c2eeaeae0b78 |
| Previous | 199869 Revisions | Next |