mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Add initial work on Favorites
This commit is contained in:
parent
24b3705fa1
commit
2a7bb2def1
@ -845,6 +845,8 @@ MSG_HASH(MENU_ENUM_LABEL_RGUI_CONFIG_DIRECTORY,
|
||||
"rgui_config_directory")
|
||||
MSG_HASH(MENU_ENUM_LABEL_RGUI_SHOW_START_SCREEN,
|
||||
"rgui_show_start_screen")
|
||||
MSG_HASH(MENU_ENUM_LABEL_ADD_TO_FAVORITES,
|
||||
"favorites")
|
||||
MSG_HASH(MENU_ENUM_LABEL_RUN,
|
||||
"collection")
|
||||
MSG_HASH(MENU_ENUM_LABEL_RUN_MUSIC,
|
||||
|
@ -285,6 +285,9 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len) {
|
||||
"The screenshot will be stored inside the \n"
|
||||
"Screenshot Directory.");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_ADD_TO_FAVORITES:
|
||||
snprintf(s, len, "Add the entry to your Favorites.");
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RUN:
|
||||
snprintf(s, len, "Start the content.");
|
||||
break;
|
||||
|
@ -1249,6 +1249,8 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_RGUI_SHOW_START_SCREEN,
|
||||
"Display Start Screen")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG,
|
||||
"Right Analog")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_ADD_TO_FAVORITES,
|
||||
"Add to Favorites")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_RUN,
|
||||
"Run")
|
||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_RUN_MUSIC,
|
||||
@ -2778,6 +2780,8 @@ MSG_HASH(MENU_ENUM_SUBLABEL_DELETE_ENTRY,
|
||||
"Remove this entry from the collection.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_INFORMATION,
|
||||
"View more information about the content.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_ADD_TO_FAVORITES,
|
||||
"Add the entry to your favorites.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_RUN,
|
||||
"Start the content.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_MENU_FILE_BROWSER_SETTINGS,
|
||||
|
@ -231,6 +231,7 @@ default_sublabel_macro(action_bind_sublabel_netplay_refresh_rooms,
|
||||
default_sublabel_macro(action_bind_sublabel_delete_entry, MENU_ENUM_SUBLABEL_DELETE_ENTRY)
|
||||
default_sublabel_macro(action_bind_sublabel_information, MENU_ENUM_SUBLABEL_INFORMATION)
|
||||
default_sublabel_macro(action_bind_sublabel_run, MENU_ENUM_SUBLABEL_RUN)
|
||||
default_sublabel_macro(action_bind_sublabel_add_to_favorites, MENU_ENUM_SUBLABEL_ADD_TO_FAVORITES)
|
||||
default_sublabel_macro(action_bind_sublabel_menu_filebrowser_settings, MENU_ENUM_SUBLABEL_MENU_FILE_BROWSER_SETTINGS)
|
||||
default_sublabel_macro(action_bind_sublabel_auto_remaps_enable, MENU_ENUM_SUBLABEL_AUTO_REMAPS_ENABLE)
|
||||
default_sublabel_macro(action_bind_sublabel_auto_overrides_enable, MENU_ENUM_SUBLABEL_AUTO_OVERRIDES_ENABLE)
|
||||
@ -608,178 +609,181 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_dynamic_wallpapers_directory);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CONTENT_DIR:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_content_dir);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_content_dir);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RGUI_BROWSER_DIRECTORY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_rgui_browser_directory);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_rgui_browser_directory);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SYSTEM_DIRECTORY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_system_directory);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_system_directory);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_PLAYLIST_ENTRY_REMOVE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_playlist_entry_remove);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_playlist_entry_remove);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_threaded_data_runloop_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_threaded_data_runloop_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SHOW_ADVANCED_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_show_advanced_settings);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_show_advanced_settings);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_options);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_input_remapping_options);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_input_remapping_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_CHEAT_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_cheat_options);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_cheat_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SHADER_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_shader_options);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_shader_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SAVE_CURRENT_CONFIG_OVERRIDE_GAME:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_current_config_override_game);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_current_config_override_game);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SAVE_CURRENT_CONFIG_OVERRIDE_CORE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_current_config_override_core);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_current_config_override_core);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RESTART_CONTENT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_restart_content);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_restart_content);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_REWIND_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_rewind);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_meta_rewind);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_ACCOUNTS_LIST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_accounts_list);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_accounts_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_ACCOUNTS_RETRO_ACHIEVEMENTS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_accounts_retro_achievements);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_accounts_retro_achievements);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_UNDO_SAVE_STATE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_undo_save_state);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_undo_save_state);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_UNDO_LOAD_STATE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_undo_load_state);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_undo_load_state);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_STATE_SLOT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_state_slot);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_state_slot);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RESUME:
|
||||
case MENU_ENUM_LABEL_RESUME_CONTENT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_resume_content);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_resume_content);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SAVE_STATE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_state);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_save_state);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_LOAD_STATE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_load_state);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_load_state);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CLOSE_CONTENT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_close_content);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_close_content);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_TAKE_SCREENSHOT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_take_screenshot);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_take_screenshot);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CURSOR_MANAGER:
|
||||
case MENU_ENUM_LABEL_CURSOR_MANAGER_LIST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cursor_manager);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_cursor_manager);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DATABASE_MANAGER:
|
||||
case MENU_ENUM_LABEL_DATABASE_MANAGER_LIST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_database_manager);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_database_manager);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_GAME_SPECIFIC_OPTIONS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_game_specific_options);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_game_specific_options);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUTO_OVERRIDES_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_auto_overrides_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_auto_overrides_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUTO_REMAPS_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_auto_remaps_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_auto_remaps_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_MENU_FILE_BROWSER_SETTINGS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_filebrowser_settings);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_filebrowser_settings);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_ADD_TO_FAVORITES:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_add_to_favorites);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RUN:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_run);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_run);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INFORMATION:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_information);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_information);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DELETE_ENTRY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_delete_entry);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_delete_entry);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_REFRESH_ROOMS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_refresh_rooms);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_refresh_rooms);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_auto_extract_archive);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_auto_extract_archive);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CORE_UPDATER_BUILDBOT_URL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_buildbot_url);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_buildbot_url);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_BUILDBOT_ASSETS_URL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_buildbot_assets_url);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_core_updater_buildbot_assets_url);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_CLIENT_SWAP_INPUT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_client_swap_input);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_client_swap_input);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_sort_savefiles_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_sort_savefiles_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_sort_savestates_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_sort_savestates_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_SWAP_INTERVAL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_swap_interval);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_swap_interval);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SCAN_FILE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_scan_file);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_scan_file);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SCAN_DIRECTORY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_scan_directory);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_scan_directory);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_DISCONNECT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_disconnect);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_disconnect);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_ENABLE_CLIENT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_enable_client);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_enable_client);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_ENABLE_HOST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_enable_host);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_enable_host);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NAVIGATION_WRAPAROUND:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_navigation_wraparound);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_navigation_wraparound);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_BATTERY_LEVEL_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_battery_level_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_battery_level_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_TIMEDATE_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_timedate_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_timedate_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_THUMBNAILS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_thumbnails);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_thumbnails);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_MOUSE_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_mouse_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_mouse_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_POINTER_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pointer_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pointer_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_STDIN_CMD_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_stdin_cmd_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_stdin_cmd_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_PUBLIC_ANNOUNCE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_public_announce);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_NAT_TRAVERSAL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_nat_traversal);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_nat_traversal);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_CHECK_FRAMES:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_check_frames);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_check_frames);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_START_AS_SPECTATOR:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_start_as_spectator);
|
||||
@ -791,40 +795,40 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_require_slaves);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_STATELESS_MODE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_stateless_mode);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_stateless_mode);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_PASSWORD:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_password);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_password);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_SPECTATE_PASSWORD:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_spectate_password);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_spectate_password);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_TCP_UDP_PORT:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_tcp_udp_port);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_tcp_udp_port);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NETPLAY_IP_ADDRESS:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_ip_address);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_ip_address);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_OVERLAY_PRESET:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_preset);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_preset);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_OVERLAY_OPACITY:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_opacity);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_opacity);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_OVERLAY_SCALE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_scale);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_scale);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_dsp_plugin);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_dsp_plugin);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_output_rate);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_output_rate);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_DEVICE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_device);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_device);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_WASAPI_EXCLUSIVE_MODE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_wasapi_exclusive_mode);
|
||||
@ -836,61 +840,61 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_wasapi_sh_buffer_length);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_MENU_WALLPAPER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wallpaper);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wallpaper);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_dynamic_wallpaper);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_dynamic_wallpaper);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_filter_supported_extensions);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_filter_supported_extensions);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_WIFI_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wifi_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wifi_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RECORD_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_record_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_record_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_MENU_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_LOCATION_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_location_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_location_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CAMERA_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_camera_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_camera_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_RESAMPLER_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_resampler_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_resampler_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_JOYPAD_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_joypad_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_joypad_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUDIO_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_DRIVER:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_driver);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_driver);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_PAUSE_LIBRETRO:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pause_libretro);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_pause_libretro);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_MENU_INPUT_SWAP_OK_CANCEL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_swap_ok_cancel);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_swap_ok_cancel);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_AUTODETECT_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_autodetect_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_autodetect_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_REMAP_BINDS_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_remap_binds_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_remap_binds_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_AUTOSAVE_INTERVAL:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_autosave_interval);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_autosave_interval);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SAVESTATE_THUMBNAIL_ENABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_savestate_thumbnail_enable);
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_savestate_thumbnail_enable);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_SAVESTATE_AUTO_SAVE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_savestate_auto_save);
|
||||
|
@ -297,7 +297,7 @@ static void print_buf_lines(file_list_t *list, char *buf,
|
||||
sizeof(core_path));
|
||||
|
||||
if (
|
||||
path_file_exists(core_path)
|
||||
path_file_exists(core_path)
|
||||
&& core_info_get_display_name(
|
||||
core_path, display_name, sizeof(display_name)))
|
||||
menu_entries_set_alt_at_offset(list, j, display_name);
|
||||
@ -1855,7 +1855,7 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||
strlcpy(thumbnail_content, db_info_entry->name, sizeof(thumbnail_content));
|
||||
|
||||
if (!string_is_empty(thumbnail_content))
|
||||
menu_driver_set_thumbnail_content(thumbnail_content, sizeof(thumbnail_content));
|
||||
menu_driver_set_thumbnail_content(thumbnail_content, sizeof(thumbnail_content));
|
||||
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_PATH, NULL);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_IMAGE, NULL);
|
||||
@ -2976,7 +2976,7 @@ static int menu_displaylist_parse_horizontal_content_actions(
|
||||
else
|
||||
{
|
||||
const char *ext = NULL;
|
||||
|
||||
|
||||
if (!string_is_empty(entry_path))
|
||||
ext = path_get_extension(entry_path);
|
||||
|
||||
@ -2994,8 +2994,13 @@ static int menu_displaylist_parse_horizontal_content_actions(
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RUN),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_RUN),
|
||||
MENU_ENUM_LABEL_RUN, FILE_TYPE_PLAYLIST_ENTRY, 0, idx);
|
||||
|
||||
if (settings->bools.playlist_entry_remove)
|
||||
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ADD_TO_FAVORITES),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_ADD_TO_FAVORITE),
|
||||
MENU_ENUM_LABEL_ADD_TO_FAVORITE, FILE_TYPE_PLAYLIST_ENTRY, 0, idx);
|
||||
|
||||
if (settings->bools.playlist_entry_remove)
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DELETE_ENTRY),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_DELETE_ENTRY),
|
||||
@ -4064,7 +4069,7 @@ bool menu_displaylist_process(menu_displaylist_info_t *info)
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
if (info->push_builtin_cores)
|
||||
{
|
||||
#if defined(HAVE_VIDEO_PROCESSOR)
|
||||
@ -4778,7 +4783,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
PARSE_ONLY_UINT, false);
|
||||
ret = menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_PLAYLIST_ENTRY_REMOVE,
|
||||
PARSE_ONLY_BOOL, false);
|
||||
PARSE_ONLY_BOOL, false);
|
||||
|
||||
menu_displaylist_parse_playlist_associations(info);
|
||||
info->need_push = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user