diff options
Diffstat (limited to 'src/emu/ui/swlist.cpp')
-rw-r--r-- | src/emu/ui/swlist.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/emu/ui/swlist.cpp b/src/emu/ui/swlist.cpp index 1a3ce5fe736..64eb5109fae 100644 --- a/src/emu/ui/swlist.cpp +++ b/src/emu/ui/swlist.cpp @@ -355,10 +355,7 @@ void ui_menu_software_list::handle() } if (selected_entry != nullptr && selected_entry != cur_selected) - { - set_selection((void *)selected_entry); - top_line = selected - (visible_lines / 2); - } + set_selection((void *) selected_entry); } } else if (event->iptkey == IPT_UI_CANCEL) @@ -451,7 +448,7 @@ void ui_menu_software::handle() const ui_menu_event *event = process(0); if (event != nullptr && event->iptkey == IPT_UI_SELECT) { - // ui_menu::stack_push(global_alloc_clear<ui_menu_software_list>(machine(), container, (software_list_config *)event->itemref, image)); + // ui_menu::stack_push(auto_alloc_clear(machine(), <ui_menu_software_list>(machine(), container, (software_list_config *)event->itemref, image))); *m_result = (software_list_device *)event->itemref; ui_menu::stack_pop(machine()); } |