Merge pull request #7418 from fr500/lanrooms
enable local room discovery on WiiU
This commit is contained in:
commit
75485e79a0
|
@ -134,7 +134,7 @@ void deinit_netplay_discovery(void)
|
||||||
/* Todo: implement net_ifinfo and ntohs for consoles */
|
/* Todo: implement net_ifinfo and ntohs for consoles */
|
||||||
bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state, void *data)
|
bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state, void *data)
|
||||||
{
|
{
|
||||||
#ifndef RARCH_CONSOLE
|
#if defined(WIIU) || !defined(RARCH_CONSOLE)
|
||||||
char port_str[6];
|
char port_str[6];
|
||||||
int ret;
|
int ret;
|
||||||
unsigned k = 0;
|
unsigned k = 0;
|
||||||
|
@ -238,7 +238,7 @@ error:
|
||||||
bool netplay_lan_ad_server(netplay_t *netplay)
|
bool netplay_lan_ad_server(netplay_t *netplay)
|
||||||
{
|
{
|
||||||
/* Todo: implement net_ifinfo and ntohs for consoles */
|
/* Todo: implement net_ifinfo and ntohs for consoles */
|
||||||
#ifndef RARCH_CONSOLE
|
#if defined(WIIU) || !defined(RARCH_CONSOLE)
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
int ret;
|
int ret;
|
||||||
struct timeval tmp_tv = {0};
|
struct timeval tmp_tv = {0};
|
||||||
|
|
Loading…
Reference in New Issue