mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Fix Recording Settings
This commit is contained in:
parent
3b1cf79c63
commit
b3a7d2a7bb
@ -2210,8 +2210,12 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
return "input_settings_begin";
|
||||
case MENU_ENUM_LABEL_PLAYLIST_SETTINGS_BEGIN:
|
||||
return "playlist_settings_begin";
|
||||
case MENU_ENUM_LABEL_RECORDING_SETTINGS:
|
||||
return "recording_settings";
|
||||
case MENU_ENUM_LABEL_PLAYLIST_SETTINGS:
|
||||
return "playlist_settings";
|
||||
case MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST:
|
||||
return "deferred_recording_settings";
|
||||
case MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
||||
return "deferred_playlist_settings";
|
||||
case MENU_ENUM_LABEL_INPUT_SETTINGS:
|
||||
|
@ -210,6 +210,11 @@ static int deferred_push_input_settings_list(menu_displaylist_info_t *info)
|
||||
return deferred_push_dlist(info, DISPLAYLIST_INPUT_SETTINGS_LIST);
|
||||
}
|
||||
|
||||
static int deferred_push_recording_settings_list(menu_displaylist_info_t *info)
|
||||
{
|
||||
return deferred_push_dlist(info, DISPLAYLIST_RECORDING_SETTINGS_LIST);
|
||||
}
|
||||
|
||||
static int deferred_push_playlist_settings_list(menu_displaylist_info_t *info)
|
||||
{
|
||||
return deferred_push_dlist(info, DISPLAYLIST_PLAYLIST_SETTINGS_LIST);
|
||||
@ -838,6 +843,9 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
|
||||
case MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_playlist_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_recording_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_input_hotkey_binds_list);
|
||||
break;
|
||||
@ -1102,6 +1110,9 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
|
||||
case MENU_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_playlist_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_RECORDING_SETTINGS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_recording_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST:
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_input_hotkey_binds_list);
|
||||
break;
|
||||
|
@ -555,7 +555,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = settings->directory.libretro;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_CORE_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_DEFERRED_CORE_LIST_SET:
|
||||
info.directory_ptr = idx;
|
||||
@ -564,7 +564,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_label = msg_hash_to_str(
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_LIST_SET);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_LIST_SET;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_ACCOUNTS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -572,7 +572,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_INPUT_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -580,7 +580,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_DRIVER_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -588,7 +588,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_DRIVER_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_DRIVER_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_CORE_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -596,7 +596,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_CORE_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_VIDEO_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -604,7 +604,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_CONFIGURATION_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -612,7 +612,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_CONFIGURATION_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CONFIGURATION_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_SAVING_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -620,7 +620,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_SAVING_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_SAVING_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_LOGGING_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -628,7 +628,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_LOGGING_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_LOGGING_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_FRAME_THROTTLE_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -636,7 +636,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_FRAME_THROTTLE_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_FRAME_THROTTLE_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_REWIND_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -644,7 +644,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_REWIND_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_REWIND_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_ONSCREEN_DISPLAY_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -652,7 +652,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_ONSCREEN_DISPLAY_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_ONSCREEN_DISPLAY_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_ONSCREEN_OVERLAY_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -660,7 +660,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_MENU_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -668,7 +668,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_USER_INTERFACE_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -676,7 +676,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_USER_INTERFACE_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_USER_INTERFACE_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_MENU_FILE_BROWSER_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -684,7 +684,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_MENU_FILE_BROWSER_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_MENU_FILE_BROWSER_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_RETRO_ACHIEVEMENTS_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -692,7 +692,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_RETRO_ACHIEVEMENTS_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_RETRO_ACHIEVEMENTS_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_UPDATER_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -700,7 +700,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_UPDATER_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_UPDATER_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_NETWORK_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -708,7 +708,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_NETWORK_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_NETWORK_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_WIFI_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -716,7 +716,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_WIFI_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_WIFI_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_LAKKA_SERVICES_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -724,7 +724,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_LAKKA_SERVICES_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_LAKKA_SERVICES_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_USER_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -732,7 +732,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_USER_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_USER_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_DIRECTORY_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -740,7 +740,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_PRIVACY_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -748,7 +748,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_PRIVACY_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_PRIVACY_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_AUDIO_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -756,7 +756,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_INPUT_HOTKEY_BINDS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -764,7 +764,15 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_RECORDING_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
info.type = type;
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_PLAYLIST_SETTINGS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -772,7 +780,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_ACCOUNTS_CHEEVOS_LIST:
|
||||
info.directory_ptr = idx;
|
||||
@ -780,7 +788,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_CHEEVOS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_ACCOUNTS_CHEEVOS_LIST;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
dl_type = DISPLAYLIST_GENERIC;
|
||||
break;
|
||||
case ACTION_OK_DL_CONTENT_SETTINGS:
|
||||
info.list = menu_entries_get_selection_buf_ptr(0);
|
||||
@ -3077,6 +3085,14 @@ static int action_ok_push_input_settings_list(const char *path,
|
||||
ACTION_OK_DL_INPUT_SETTINGS_LIST);
|
||||
}
|
||||
|
||||
static int action_ok_push_recording_settings_list(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
return generic_action_ok_displaylist_push(path, NULL,
|
||||
label, type, idx, entry_idx,
|
||||
ACTION_OK_DL_RECORDING_SETTINGS_LIST);
|
||||
}
|
||||
|
||||
static int action_ok_push_playlist_settings_list(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
@ -3590,6 +3606,9 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_PLAYLIST_SETTINGS:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_playlist_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_RECORDING_SETTINGS:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_recording_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_HOTKEY_BINDS:
|
||||
BIND_ACTION_OK(cbs, action_ok_push_input_hotkey_binds_list);
|
||||
break;
|
||||
|
@ -170,6 +170,13 @@ static int action_get_core_counters_list(const char *path, const char *label,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_recording_settings_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
sanitize_to_string(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RECORDING_SETTINGS), len);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_playlist_settings_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
@ -1259,6 +1266,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_recording_settings_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list);
|
||||
break;
|
||||
@ -1540,6 +1550,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_DEFERRED_INPUT_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_input_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_RECORDING_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_recording_settings_list);
|
||||
break;
|
||||
case MENU_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list);
|
||||
break;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "menu_cbs.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
#define DEBUG_LOG
|
||||
#endif
|
||||
|
||||
|
@ -55,6 +55,7 @@ enum
|
||||
ACTION_OK_DL_REWIND_SETTINGS_LIST,
|
||||
ACTION_OK_DL_CORE_SETTINGS_LIST,
|
||||
ACTION_OK_DL_INPUT_HOTKEY_BINDS_LIST,
|
||||
ACTION_OK_DL_RECORDING_SETTINGS_LIST,
|
||||
ACTION_OK_DL_PLAYLIST_SETTINGS_LIST,
|
||||
ACTION_OK_DL_ACCOUNTS_LIST,
|
||||
ACTION_OK_DL_ACCOUNTS_CHEEVOS_LIST,
|
||||
|
@ -4057,6 +4057,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
case DISPLAYLIST_CORE_SETTINGS_LIST:
|
||||
case DISPLAYLIST_INPUT_SETTINGS_LIST:
|
||||
case DISPLAYLIST_PLAYLIST_SETTINGS_LIST:
|
||||
case DISPLAYLIST_RECORDING_SETTINGS_LIST:
|
||||
case DISPLAYLIST_AUDIO_FILTERS:
|
||||
case DISPLAYLIST_IMAGES:
|
||||
case DISPLAYLIST_OVERLAYS:
|
||||
@ -4330,6 +4331,28 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
info->need_push = true;
|
||||
}
|
||||
break;
|
||||
case DISPLAYLIST_RECORDING_SETTINGS_LIST:
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_RECORD_ENABLE,
|
||||
PARSE_ONLY_BOOL, false);
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_RECORD_CONFIG,
|
||||
PARSE_ONLY_PATH, false);
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_RECORD_PATH,
|
||||
PARSE_ONLY_STRING, false);
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_RECORD_USE_OUTPUT_DIRECTORY,
|
||||
PARSE_ONLY_BOOL, false);
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_VIDEO_POST_FILTER_RECORD,
|
||||
PARSE_ONLY_BOOL, false);
|
||||
menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_VIDEO_GPU_RECORD,
|
||||
PARSE_ONLY_BOOL, false);
|
||||
|
||||
info->need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_PLAYLIST_SETTINGS_LIST:
|
||||
ret = menu_displaylist_parse_settings_enum(menu, info,
|
||||
MENU_ENUM_LABEL_HISTORY_LIST_ENABLE,
|
||||
|
@ -130,6 +130,7 @@ enum menu_displaylist_ctl_state
|
||||
DISPLAYLIST_USER_SETTINGS_LIST,
|
||||
DISPLAYLIST_DIRECTORY_SETTINGS_LIST,
|
||||
DISPLAYLIST_PRIVACY_SETTINGS_LIST,
|
||||
DISPLAYLIST_RECORDING_SETTINGS_LIST,
|
||||
DISPLAYLIST_PLAYLIST_SETTINGS_LIST,
|
||||
DISPLAYLIST_ACCOUNTS_CHEEVOS_LIST,
|
||||
DISPLAYLIST_LOAD_CONTENT_LIST,
|
||||
|
@ -839,6 +839,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_UPDATER_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_THUMBNAILS_UPDATER_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_RECORDING_SETTINGS_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_INPUT_SETTINGS_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_DRIVER_SETTINGS_LIST,
|
||||
@ -1885,6 +1886,7 @@ enum msg_hash_enums
|
||||
#define MENU_LABEL_DEFERRED_DRIVER_SETTINGS_LIST 0xaa5efefcU
|
||||
#define MENU_LABEL_DEFERRED_VIDEO_SETTINGS_LIST 0x83c65827U
|
||||
#define MENU_LABEL_DEFERRED_AUDIO_SETTINGS_LIST 0x5bba25e2U
|
||||
#define MENU_LABEL_DEFERRED_RECORDING_SETTINGS_LIST 0x05548d52U
|
||||
#define MENU_LABEL_DEFERRED_PLAYLIST_SETTINGS_LIST 0x9518e0c7U
|
||||
#define MENU_LABEL_DEFERRED_INPUT_SETTINGS_LIST 0x050bec60U
|
||||
#define MENU_LABEL_DEFERRED_USER_BINDS_LIST 0x28c5750eU
|
||||
|
Loading…
x
Reference in New Issue
Block a user