mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
(MESS) ui: when ESCing while creating a new floppy image, fall back
to the correct menu. [Fabio Priuli]
This commit is contained in:
parent
7fc1cfe6c7
commit
fa41ad2cde
@ -925,7 +925,7 @@ void ui_menu_control_floppy_image::hook_load(astring filename, bool softlist)
|
||||
void ui_menu_control_floppy_image::handle()
|
||||
{
|
||||
floppy_image_device *fd = static_cast<floppy_image_device *>(image);
|
||||
switch(state) {
|
||||
switch (state) {
|
||||
case DO_CREATE: {
|
||||
floppy_image_format_t *fif_list = fd->get_formats();
|
||||
int ext_match = 0, total_usable = 0;
|
||||
@ -985,7 +985,7 @@ void ui_menu_control_floppy_image::handle()
|
||||
break;
|
||||
|
||||
case -1:
|
||||
ui_menu::stack_pop(machine());
|
||||
state = START_FILE;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user