add stub connection handler
This commit is contained in:
parent
8a1fb24fe9
commit
8d25b2b0a3
|
@ -3115,6 +3115,12 @@ static int action_ok_netplay_lan_scan_list(const char *path,
|
||||||
entry_idx, ACTION_OK_DL_NETPLAY_LAN_SCAN_SETTINGS_LIST);
|
entry_idx, ACTION_OK_DL_NETPLAY_LAN_SCAN_SETTINGS_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int action_ok_netplay_connect_room(const char *path,
|
||||||
|
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||||
|
{
|
||||||
|
RARCH_LOG("Connect %s %d\n", netplay_room_list[idx - 1].address, netplay_room_list[idx - 1].port);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
static int action_ok_lakka_services(const char *path,
|
static int action_ok_lakka_services(const char *path,
|
||||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||||
{
|
{
|
||||||
|
@ -4218,6 +4224,9 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
||||||
case MENU_ENUM_LABEL_NETPLAY_LAN_SCAN_SETTINGS:
|
case MENU_ENUM_LABEL_NETPLAY_LAN_SCAN_SETTINGS:
|
||||||
BIND_ACTION_OK(cbs, action_ok_netplay_lan_scan_list);
|
BIND_ACTION_OK(cbs, action_ok_netplay_lan_scan_list);
|
||||||
break;
|
break;
|
||||||
|
case MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM:
|
||||||
|
BIND_ACTION_OK(cbs, action_ok_netplay_connect_room);
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_LAKKA_SERVICES:
|
case MENU_ENUM_LABEL_LAKKA_SERVICES:
|
||||||
BIND_ACTION_OK(cbs, action_ok_lakka_services);
|
BIND_ACTION_OK(cbs, action_ok_lakka_services);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue