mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 19:21:27 +00:00
Merge pull request #13970 from Cthulhu-throwaway/upnp-fix
(Netplay/UPnP) Stability Issue
This commit is contained in:
commit
37a17df182
@ -140,9 +140,9 @@ done:
|
||||
|
||||
static void task_netplay_nat_traversal_handler(retro_task_t *task)
|
||||
{
|
||||
static struct natt_discovery discovery = {-1};
|
||||
static struct natt_discovery discovery = {-1, -1};
|
||||
static struct natt_device device = {0};
|
||||
struct nat_traversal_data *data = (struct nat_traversal_data*)task->task_data;
|
||||
struct nat_traversal_data *data = (struct nat_traversal_data*)task->task_data;
|
||||
|
||||
/* Try again on the next call. */
|
||||
if (device.busy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user