Merge pull request #7418 from fr500/lanrooms

enable local room discovery on WiiU
This commit is contained in:
Twinaphex 2018-10-12 03:27:51 +02:00 committed by GitHub
commit 75485e79a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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};