Add 'Start Streaming/Start Recording' to Quick Menu

This commit is contained in:
twinaphex 2018-09-17 09:06:24 +02:00
parent 4f85ca5f9a
commit 3c8ee6f26a
25 changed files with 643 additions and 10 deletions

View File

@ -260,15 +260,17 @@ static const float default_input_overlay_opacity = 0.7f;
static bool default_block_config_read = true;
static bool quick_menu_show_take_screenshot = true;
static bool quick_menu_show_save_load_state = true;
static bool quick_menu_show_undo_save_load_state = true;
static bool quick_menu_show_add_to_favorites = true;
static bool quick_menu_show_options = true;
static bool quick_menu_show_controls = true;
static bool quick_menu_show_cheats = true;
static bool quick_menu_show_shaders = true;
static bool quick_menu_show_information = true;
static bool quick_menu_show_take_screenshot = true;
static bool quick_menu_show_save_load_state = true;
static bool quick_menu_show_undo_save_load_state = true;
static bool quick_menu_show_add_to_favorites = true;
static bool quick_menu_show_options = true;
static bool quick_menu_show_controls = true;
static bool quick_menu_show_cheats = true;
static bool quick_menu_show_shaders = true;
static bool quick_menu_show_information = true;
static bool quick_menu_show_recording = true;
static bool quick_menu_show_streaming = true;
static bool quick_menu_show_save_core_overrides = true;
static bool quick_menu_show_save_game_overrides = true;

View File

@ -1359,6 +1359,9 @@ static struct config_bool_setting *populate_settings_bool(settings_t *settings,
SETTING_BOOL("menu_battery_level_enable", &settings->bools.menu_battery_level_enable, true, true, false);
SETTING_BOOL("menu_core_enable", &settings->bools.menu_core_enable, true, true, false);
SETTING_BOOL("menu_dynamic_wallpaper_enable", &settings->bools.menu_dynamic_wallpaper_enable, true, false, false);
SETTING_BOOL("quick_menu_show_recording", &settings->bools.quick_menu_show_recording, true, quick_menu_show_recording, false);
SETTING_BOOL("quick_menu_show_streaming", &settings->bools.quick_menu_show_streaming, true, quick_menu_show_streaming, false);
SETTING_BOOL("quick_menu_show_save_load_state", &settings->bools.quick_menu_show_save_load_state, true, quick_menu_show_save_load_state, false);
SETTING_BOOL("quick_menu_show_take_screenshot", &settings->bools.quick_menu_show_take_screenshot, true, quick_menu_show_take_screenshot, false);
SETTING_BOOL("quick_menu_show_save_load_state", &settings->bools.quick_menu_show_save_load_state, true, quick_menu_show_save_load_state, false);
SETTING_BOOL("quick_menu_show_undo_save_load_state", &settings->bools.quick_menu_show_undo_save_load_state, true, quick_menu_show_undo_save_load_state, false);

View File

@ -188,6 +188,8 @@ typedef struct settings
bool quick_menu_show_save_game_overrides;
bool quick_menu_show_save_content_dir_overrides;
bool quick_menu_show_information;
bool quick_menu_show_recording;
bool quick_menu_show_streaming;
bool kiosk_mode_enable;
bool crt_switch_custom_refresh_enable;

View File

@ -3583,3 +3583,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3367,3 +3367,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3359,3 +3359,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3469,3 +3469,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3234,3 +3234,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -7481,3 +7481,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3393,3 +3393,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3453,3 +3453,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3854,3 +3854,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3354,3 +3354,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -1467,6 +1467,14 @@ MSG_HASH(MENU_ENUM_LABEL_MENU_SHOW_REBOOT,
"menu_show_reboot")
MSG_HASH(MENU_ENUM_LABEL_MENU_SHOW_SHUTDOWN,
"menu_show_shutdown")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_START_RECORDING,
"quick_menu_show_start_recording")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_START_STREAMING,
"quick_menu_show_start_streaming")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_STOP_RECORDING,
"quick_menu_show_stop_recording")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_STOP_STREAMING,
"quick_menu_show_stop_streaming")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_SHOW_TAKE_SCREENSHOT,
"quick_menu_show_take_screenshot")
MSG_HASH(MENU_ENUM_LABEL_QUICK_MENU_SHOW_SAVE_LOAD_STATE,

View File

@ -3236,3 +3236,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3664,3 +3664,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -7480,3 +7480,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3328,3 +3328,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3523,3 +3523,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -7481,3 +7481,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -3391,3 +3391,35 @@ MSG_HASH(
MSG_HASH(
MENU_ENUM_LABEL_VALUE_CRT_SWITCH_RESOLUTION_OUTPUT_DISPLAY_ID,
"Output Display ID")
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
"Start Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_RECORDING,
"Starts recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_RECORDING,
"Stop Recording"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING,
"Stops recording."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
"Start Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_START_STREAMING,
"Starts streaming."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_QUICK_MENU_STOP_STREAMING,
"Stop Streaming"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING,
"Stops streaming."
)

View File

@ -2678,7 +2678,29 @@ static int action_ok_cheat_reload_cheats(const char *path,
return 0 ;
}
static int action_ok_cheat_add_top(const char *path,
static int action_ok_start_recording(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx)
{
#if 0
streaming_set_status(false);
#endif
command_event(CMD_EVENT_RECORD_INIT, NULL);
return 0;
}
static int action_ok_start_streaming(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx)
{
#if 0
streaming_set_status(true);
#endif
command_event(CMD_EVENT_RECORD_INIT, NULL);
return 0;
}
static int action_ok_cheat_add_top(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx)
{
int i;
@ -4604,6 +4626,12 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_QUICK_MENU_START_RECORDING:
BIND_ACTION_OK(cbs, action_ok_start_recording);
break;
case MENU_ENUM_LABEL_QUICK_MENU_START_STREAMING:
BIND_ACTION_OK(cbs, action_ok_start_streaming);
break;
case MENU_ENUM_LABEL_CHEAT_START_OR_CONT:
BIND_ACTION_OK(cbs, action_ok_cheat_start_or_cont);
break;

View File

@ -2654,6 +2654,16 @@ static int menu_displaylist_parse_load_content_settings(
MENU_ENUM_LABEL_ADD_TO_FAVORITES, FILE_TYPE_PLAYLIST_ENTRY, 0, 0);
}
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING),
msg_hash_to_str(MENU_ENUM_LABEL_QUICK_MENU_START_RECORDING),
MENU_ENUM_LABEL_QUICK_MENU_START_RECORDING, MENU_SETTING_ACTION, 0, 0);
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING),
msg_hash_to_str(MENU_ENUM_LABEL_QUICK_MENU_START_STREAMING),
MENU_ENUM_LABEL_QUICK_MENU_START_STREAMING, MENU_SETTING_ACTION, 0, 0);
if (settings->bools.quick_menu_show_options && !settings->bools.kiosk_mode_enable)
{
menu_entries_append_enum(info->list,

View File

@ -7261,6 +7261,38 @@ static bool setting_append_list(
general_read_handler,
SD_FLAG_NONE);
#if 0
CONFIG_BOOL(
list, list_info,
&settings->bools.quick_menu_show_recording,
MENU_ENUM_LABEL_QUICK_MENU_START_RECORDING,
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_RECORDING,
quick_menu_show_recording,
MENU_ENUM_LABEL_VALUE_OFF,
MENU_ENUM_LABEL_VALUE_ON,
&group_info,
&subgroup_info,
parent_group,
general_write_handler,
general_read_handler,
SD_FLAG_NONE);
CONFIG_BOOL(
list, list_info,
&settings->bools.quick_menu_show_streaming,
MENU_ENUM_LABEL_QUICK_MENU_START_STREAMING,
MENU_ENUM_LABEL_VALUE_QUICK_MENU_START_STREAMING,
quick_menu_show_streaming,
MENU_ENUM_LABEL_VALUE_OFF,
MENU_ENUM_LABEL_VALUE_ON,
&group_info,
&subgroup_info,
parent_group,
general_write_handler,
general_read_handler,
SD_FLAG_NONE);
#endif
CONFIG_BOOL(
list, list_info,
&settings->bools.quick_menu_show_options,

View File

@ -835,6 +835,10 @@ enum msg_hash_enums
MENU_LABEL(QUICK_MENU_SHOW_SAVE_CORE_OVERRIDES),
MENU_LABEL(QUICK_MENU_SHOW_SAVE_GAME_OVERRIDES),
MENU_LABEL(QUICK_MENU_SHOW_INFORMATION),
MENU_LABEL(QUICK_MENU_START_RECORDING),
MENU_LABEL(QUICK_MENU_STOP_RECORDING),
MENU_LABEL(QUICK_MENU_START_STREAMING),
MENU_LABEL(QUICK_MENU_STOP_STREAMING),
/* UI settings */
MENU_LABEL(VIDEO_DISABLE_COMPOSITION),