mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
check was the wrong way around, causing another event to be popped after a stop request
This commit is contained in:
parent
f19704cb3e
commit
a868206f6f
@ -750,7 +750,7 @@ void ui_menu::handle_events()
|
||||
ui_event local_menu_event;
|
||||
|
||||
/* loop while we have interesting events */
|
||||
while (ui_input_pop_event(machine(), &local_menu_event) && !stop)
|
||||
while (!stop && ui_input_pop_event(machine(), &local_menu_event))
|
||||
{
|
||||
switch (local_menu_event.event_type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user