mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
Prevent keypresses from passing through to internal debugger windows while the windows are hidden.
This commit is contained in:
parent
cc00b13b92
commit
2dfaf69380
@ -1657,7 +1657,7 @@ static void handle_keys(running_machine &machine)
|
|||||||
|
|
||||||
static void handle_editor(running_machine &machine)
|
static void handle_editor(running_machine &machine)
|
||||||
{
|
{
|
||||||
if (focus_view->editor.active)
|
if (focus_view->editor.active && dview_is_state(focus_view, VIEW_STATE_VISIBLE))
|
||||||
{
|
{
|
||||||
ui_event event;
|
ui_event event;
|
||||||
|
|
||||||
@ -1835,6 +1835,7 @@ void debug_internal::wait_for_debugger(device_t &device, bool firststop)
|
|||||||
}
|
}
|
||||||
|
|
||||||
followers_set_cpu(&device);
|
followers_set_cpu(&device);
|
||||||
|
ui_input_reset(device.machine());
|
||||||
debug_show_all();
|
debug_show_all();
|
||||||
//ui_update_and_render(device.machine(), device.machine().render().ui_container()());
|
//ui_update_and_render(device.machine(), device.machine().render().ui_container()());
|
||||||
update_views();
|
update_views();
|
||||||
|
Loading…
Reference in New Issue
Block a user