mirror of
https://github.com/holub/mame
synced 2025-05-19 03:59:35 +03:00
fix for bug #01092: debugger crashes when exiting during "run to cursor"
This commit is contained in:
parent
75cbcca312
commit
33e828c111
@ -2660,6 +2660,8 @@ static int global_handle_command(debugwin_info *info, WPARAM wparam, LPARAM lpar
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case ID_EXIT:
|
case ID_EXIT:
|
||||||
|
if (info->focuswnd != NULL)
|
||||||
|
SetFocus(info->focuswnd);
|
||||||
mame_schedule_exit(info->machine);
|
mame_schedule_exit(info->machine);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user