This commit is contained in:
twinaphex 2016-06-17 02:34:22 +02:00
parent 7e822f8126
commit 59fd4b30d9
3 changed files with 10 additions and 9 deletions

View File

@ -26,6 +26,8 @@ static const char *menu_hash_to_str_us_label_enum(enum menu_hash_enums msg)
{
switch (msg)
{
case MENU_ENUM_LABEL_RUN:
return "collection";
case MENU_ENUM_LABEL_INPUT_USER_1_BINDS:
return "1_input_binds_list";
case MENU_ENUM_LABEL_INPUT_USER_2_BINDS:
@ -820,6 +822,8 @@ const char *menu_hash_to_str_us_enum(enum menu_hash_enums msg)
switch (msg)
{
case MENU_ENUM_LABEL_VALUE_RUN:
return "Run";
case MENU_ENUM_LABEL_VALUE_VIDEO_VIEWPORT_CUSTOM_X:
return "Custom Viewport X";
case MENU_ENUM_LABEL_VALUE_VIDEO_VIEWPORT_CUSTOM_Y:

View File

@ -2706,8 +2706,10 @@ static int menu_displaylist_parse_horizontal_content_actions(
&& string_is_equal(menu->deferred_path, fullpath))
menu_displaylist_parse_load_content_settings(info);
else
menu_entries_add_enum(info->list, "Run", "collection",
MENU_ENUM_LABEL_UNKNOWN, MENU_FILE_PLAYLIST_ENTRY, 0, idx);
menu_entries_add_enum(info->list,
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_RUN),
menu_hash_to_str_enum(MENU_ENUM_LABEL_RUN),
MENU_ENUM_LABEL_RUN, MENU_FILE_PLAYLIST_ENTRY, 0, idx);
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_GET, &playlist);
@ -2820,13 +2822,6 @@ static int menu_displaylist_parse_add_content_list(
MENU_SETTING_ACTION, 0, 0);
#endif
#if 0
menu_entries_prepend(info->list,
"Test",
"new_test",
MENU_SETTING_ACTION, 0, 0);
#endif
return 0;
}

View File

@ -40,6 +40,8 @@ enum menu_hash_enums
MENU_ENUM_LABEL_VALUE_DOWNLOAD_CORE,
MENU_ENUM_LABEL_RUN,
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_DOWNLOAD,
MENU_ENUM_LABEL_INPUT_BACK_AS_MENU_TOGGLE,