mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Be more careful with this bit
This commit is contained in:
parent
46c5cc0689
commit
b93fafe96a
@ -2009,9 +2009,10 @@ int menu_displaylist_deferred_push(menu_displaylist_info_t *info)
|
||||
|
||||
if (!strcmp(info->label, "Main Menu"))
|
||||
{
|
||||
info->type = MENU_SETTINGS;
|
||||
info->flags = SL_FLAG_MAIN_MENU;
|
||||
return menu_displaylist_push_list(info, DISPLAYLIST_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;
|
||||
}
|
||||
else if (!strcmp(info->label, "Horizontal Menu"))
|
||||
return menu_entries_push_horizontal_menu_list(menu, info->list, info->path, info->label, info->type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user