summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/filesel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/filesel.c')
-rw-r--r--src/emu/ui/filesel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/ui/filesel.c b/src/emu/ui/filesel.c
index 294e58c76fb..141d2f9e7b9 100644
--- a/src/emu/ui/filesel.c
+++ b/src/emu/ui/filesel.c
@@ -566,7 +566,8 @@ void ui_menu_file_selector::populate()
if (m_has_softlist)
{
// add the "[software list]" entry
- append_entry(SELECTOR_ENTRY_TYPE_SOFTWARE_LIST, NULL, NULL);
+ entry = append_entry(SELECTOR_ENTRY_TYPE_SOFTWARE_LIST, NULL, NULL);
+ selected_entry = entry;
}
// add the drives