mirror of
https://github.com/holub/mame
synced 2025-05-17 03:10:43 +03:00
uiimage.c: added reset of the char input buffer when selecting an entry in the file manager (it's mainly for MESS --> no whatsnew)
This commit is contained in:
parent
33e4824d22
commit
629af025f1
@ -844,6 +844,10 @@ static void menu_file_selector(running_machine &machine, ui_menu *menu, void *pa
|
|||||||
ui_menu_stack_pop(machine);
|
ui_menu_stack_pop(machine);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// reset the char buffer when pressing IPT_UI_SELECT
|
||||||
|
if (menustate->filename_buffer[0] != '\0')
|
||||||
|
memset(menustate->filename_buffer, '\0', ARRAY_LENGTH(menustate->filename_buffer));
|
||||||
}
|
}
|
||||||
else if (event->iptkey == IPT_SPECIAL)
|
else if (event->iptkey == IPT_SPECIAL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user