This commit is contained in:
twinaphex 2015-05-13 14:14:08 +02:00
parent bd99323585
commit 46c5cc0689
1 changed files with 3 additions and 4 deletions

View File

@ -2009,10 +2009,9 @@ int menu_displaylist_deferred_push(menu_displaylist_info_t *info)
if (!strcmp(info->label, "Main Menu"))
{
menu_list_clear(info->list);
ret = menu_entries_push_list(menu, info, SL_FLAG_MAIN_MENU);
menu_driver_populate_entries(info->path, info->label, info->type);
return ret;
info->type = MENU_SETTINGS;
info->flags = SL_FLAG_MAIN_MENU;
return menu_displaylist_push_list(info, DISPLAYLIST_MAIN_MENU);
}
else if (!strcmp(info->label, "Horizontal Menu"))
return menu_entries_push_horizontal_menu_list(menu, info->list, info->path, info->label, info->type);