diff options
Diffstat (limited to 'src/frontend/mame/ui')
-rw-r--r-- | src/frontend/mame/ui/filemngr.cpp | 2 | ||||
-rw-r--r-- | src/frontend/mame/ui/menuitem.h | 2 | ||||
-rw-r--r-- | src/frontend/mame/ui/slider.h | 2 | ||||
-rw-r--r-- | src/frontend/mame/ui/ui.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/ui/filemngr.cpp b/src/frontend/mame/ui/filemngr.cpp index f031a2ef123..ac455d4c591 100644 --- a/src/frontend/mame/ui/filemngr.cpp +++ b/src/frontend/mame/ui/filemngr.cpp @@ -184,7 +184,7 @@ void ui_menu_file_manager::handle() if (floppy_device != nullptr) { ui_menu::stack_push(global_alloc_clear<ui_menu_control_floppy_image>(ui(), container, floppy_device)); - } + } else { ui_menu::stack_push(global_alloc_clear<ui_menu_control_device_image>(ui(), container, selected_device)); diff --git a/src/frontend/mame/ui/menuitem.h b/src/frontend/mame/ui/menuitem.h index 92ceab86628..3fac820b5e7 100644 --- a/src/frontend/mame/ui/menuitem.h +++ b/src/frontend/mame/ui/menuitem.h @@ -39,4 +39,4 @@ public: inline bool is_selectable() const; }; -#endif // __UI_MENUITEM__
\ No newline at end of file +#endif // __UI_MENUITEM__ diff --git a/src/frontend/mame/ui/slider.h b/src/frontend/mame/ui/slider.h index ef3622a0ee5..a7873db800a 100644 --- a/src/frontend/mame/ui/slider.h +++ b/src/frontend/mame/ui/slider.h @@ -33,4 +33,4 @@ struct slider_state char description[1]; /* textual description */ }; -#endif // __UI_SLIDER__
\ No newline at end of file +#endif // __UI_SLIDER__ diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp index 05ba0138210..e984d445163 100644 --- a/src/frontend/mame/ui/ui.cpp +++ b/src/frontend/mame/ui/ui.cpp @@ -2816,4 +2816,4 @@ void mame_ui_manager::save_main_option() void mame_ui_manager::menu_reset() { ui_menu::stack_reset(machine()); -}
\ No newline at end of file +} |