mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
fix netplay join with touch
This commit is contained in:
parent
b7f3bede61
commit
4a09dfdb30
@ -233,14 +233,9 @@ static int menu_cbs_init_bind_select_compare_type(
|
|||||||
BIND_ACTION_SELECT(cbs, action_select_input_desc_kbd);
|
BIND_ACTION_SELECT(cbs, action_select_input_desc_kbd);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_NETWORKING
|
|
||||||
else if (type == MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM)
|
|
||||||
{
|
|
||||||
BIND_ACTION_SELECT(cbs, action_select_netplay_connect_room);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case FILE_TYPE_USE_DIRECTORY:
|
case FILE_TYPE_USE_DIRECTORY:
|
||||||
@ -268,6 +263,14 @@ int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
|||||||
|
|
||||||
BIND_ACTION_SELECT(cbs, action_select_default);
|
BIND_ACTION_SELECT(cbs, action_select_default);
|
||||||
|
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
|
if (cbs->enum_idx == MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM)
|
||||||
|
{
|
||||||
|
BIND_ACTION_SELECT(cbs, action_select_netplay_connect_room);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (cbs->setting)
|
if (cbs->setting)
|
||||||
{
|
{
|
||||||
uint64_t flags = cbs->setting->flags;
|
uint64_t flags = cbs->setting->flags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user