mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Set type of 'No Items' and attempt to implement a left callback
by default
This commit is contained in:
parent
dc01a392ea
commit
d796ac592a
@ -458,6 +458,15 @@ static int menu_cbs_init_bind_left_compare_type(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case MENU_SETTING_NO_ITEM:
|
||||
switch (menu_label_hash)
|
||||
{
|
||||
case MENU_VALUE_HORIZONTAL_MENU:
|
||||
case MENU_VALUE_MAIN_MENU:
|
||||
BIND_ACTION_LEFT(cbs, action_left_mainmenu);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case MENU_SETTINGS_CORE_DISK_OPTIONS_DISK_INDEX:
|
||||
BIND_ACTION_LEFT(cbs, disk_options_disk_idx_left);
|
||||
break;
|
||||
|
@ -105,6 +105,7 @@ typedef enum
|
||||
MENU_HISTORY_TAB,
|
||||
MENU_ADD_TAB,
|
||||
MENU_PLAYLISTS_TAB,
|
||||
MENU_SETTING_NO_ITEM,
|
||||
MENU_SETTING_DRIVER,
|
||||
MENU_SETTING_ACTION,
|
||||
MENU_SETTING_ACTION_RUN,
|
||||
|
@ -1706,7 +1706,7 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
|
||||
else
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
||||
"", 0, 0, 0);
|
||||
"", MENU_SETTING_NO_ITEM, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user