mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 10:20:57 +00:00
Merge pull request #3717 from GregorR/netplay-menu-link
Add a link from the netplay menu to netplay settings
This commit is contained in:
commit
7f1c9b33ef
@ -1612,6 +1612,10 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
|
|||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"Disconnects an active Netplay connection.");
|
"Disconnects an active Netplay connection.");
|
||||||
break;
|
break;
|
||||||
|
case MENU_ENUM_LABEL_NETPLAY_SETTINGS:
|
||||||
|
snprintf(s, len,
|
||||||
|
"Setting related to Netplay.");
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER:
|
case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"Dynamically load a new wallpaper \n"
|
"Dynamically load a new wallpaper \n"
|
||||||
@ -2488,6 +2492,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
|||||||
return "menu_netplay_enable_client";
|
return "menu_netplay_enable_client";
|
||||||
case MENU_ENUM_LABEL_NETPLAY_DISCONNECT:
|
case MENU_ENUM_LABEL_NETPLAY_DISCONNECT:
|
||||||
return "menu_netplay_disconnect";
|
return "menu_netplay_disconnect";
|
||||||
|
case MENU_ENUM_LABEL_NETPLAY_SETTINGS:
|
||||||
|
return "menu_netplay_settings";
|
||||||
case MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE:
|
case MENU_ENUM_LABEL_DPI_OVERRIDE_ENABLE:
|
||||||
return "dpi_override_enable";
|
return "dpi_override_enable";
|
||||||
case MENU_ENUM_LABEL_DPI_OVERRIDE_VALUE:
|
case MENU_ENUM_LABEL_DPI_OVERRIDE_VALUE:
|
||||||
@ -3825,6 +3831,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
|||||||
return "Connect to Netplay host";
|
return "Connect to Netplay host";
|
||||||
case MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT:
|
case MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT:
|
||||||
return "Disconnect";
|
return "Disconnect";
|
||||||
|
case MENU_ENUM_LABEL_VALUE_NETPLAY_SETTINGS:
|
||||||
|
return "Netplay settings";
|
||||||
case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE:
|
case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_ENABLE:
|
||||||
return "DPI Override Enable";
|
return "DPI Override Enable";
|
||||||
case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_VALUE:
|
case MENU_ENUM_LABEL_VALUE_DPI_OVERRIDE_VALUE:
|
||||||
|
@ -1522,6 +1522,11 @@ static int menu_displaylist_parse_netplay(
|
|||||||
MENU_ENUM_LABEL_NETPLAY_DISCONNECT,
|
MENU_ENUM_LABEL_NETPLAY_DISCONNECT,
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
|
|
||||||
|
menu_entries_append_enum(info->list,
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NETPLAY_SETTINGS),
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_SETTINGS),
|
||||||
|
MENU_ENUM_LABEL_NETWORK_SETTINGS, MENU_SETTING_GROUP, 0, 0);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_ITEMS),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_ITEMS),
|
||||||
|
@ -967,6 +967,8 @@ enum msg_hash_enums
|
|||||||
MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_CLIENT,
|
MENU_ENUM_LABEL_VALUE_NETPLAY_ENABLE_CLIENT,
|
||||||
MENU_ENUM_LABEL_NETPLAY_DISCONNECT,
|
MENU_ENUM_LABEL_NETPLAY_DISCONNECT,
|
||||||
MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT,
|
MENU_ENUM_LABEL_VALUE_NETPLAY_DISCONNECT,
|
||||||
|
MENU_ENUM_LABEL_NETPLAY_SETTINGS,
|
||||||
|
MENU_ENUM_LABEL_VALUE_NETPLAY_SETTINGS,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user