mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +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);
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_NETWORKING
|
||||
else if (type == MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM)
|
||||
{
|
||||
BIND_ACTION_SELECT(cbs, action_select_netplay_connect_room);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
|
||||
switch (type)
|
||||
{
|
||||
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);
|
||||
|
||||
#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)
|
||||
{
|
||||
uint64_t flags = cbs->setting->flags;
|
||||
|
Loading…
Reference in New Issue
Block a user