mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
(Netplay/Vita) Enable partial LAN discovery (#14222)
This commit is contained in:
parent
e083c46d6e
commit
acfe990ec6
@ -345,6 +345,7 @@ else ifeq ($(platform), vita)
|
||||
HAVE_7ZIP := 1
|
||||
HAVE_VITA2D := 1
|
||||
HAVE_NETWORKING := 1
|
||||
HAVE_NETPLAYDISCOVERY := 1
|
||||
HAVE_OVERLAY := 1
|
||||
HAVE_VIDEO_LAYOUT := 0
|
||||
HAVE_MATERIALUI := 1
|
||||
|
@ -75,6 +75,7 @@ else
|
||||
HAVE_VITAGL := 0
|
||||
endif
|
||||
HAVE_NETWORKING := 1
|
||||
HAVE_NETPLAYDISCOVERY := 1
|
||||
HAVE_SOCKET_LEGACY := 1
|
||||
HAVE_MENU := 1
|
||||
HAVE_MENU_COMMON := 1
|
||||
|
@ -8550,7 +8550,9 @@ static bool netplay_pre_frame(netplay_t *netplay)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
#ifdef HAVE_NETPLAYDISCOVERY
|
||||
/* Vita can't bind to our discovery port;
|
||||
do not try to answer discovery queries there. */
|
||||
#if defined(HAVE_NETPLAYDISCOVERY) && !defined(VITA)
|
||||
if (!netplay->mitm_handler)
|
||||
{
|
||||
net_driver_state_t *net_st = &networking_driver_st;
|
||||
|
Loading…
x
Reference in New Issue
Block a user