mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Allow break into debugger for screen less systems (no whatsnew)
This commit is contained in:
parent
2e549870b7
commit
887fbd7203
@ -1797,6 +1797,11 @@ void device_debug::start_hook(attotime endtime)
|
||||
else if (ui_input_pressed(m_device.machine(), IPT_UI_DEBUG_BREAK))
|
||||
global->visiblecpu->debug()->halt_on_next_instruction("User-initiated break\n");
|
||||
}
|
||||
// Check for screenless systems
|
||||
if (m_device.machine().first_screen()==NULL) {
|
||||
if (ui_input_pressed(m_device.machine(), IPT_UI_DEBUG_BREAK))
|
||||
global->visiblecpu->debug()->halt_on_next_instruction("User-initiated break\n");
|
||||
}
|
||||
}
|
||||
|
||||
// recompute the debugging mode
|
||||
|
Loading…
Reference in New Issue
Block a user