(Netplay/UPnP) Stability Issue

This commit is contained in:
Cthulhu-throwaway 2022-05-25 12:30:17 -03:00
parent cc1325ff82
commit 61610bd7d3

View File

@ -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)