mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Netplay/UPnP) Delay lobby server announcing (#13473)
Delay the announcing in order to give UPnP's port forwarding more time. Fix the remaining truncation warnings.
This commit is contained in:
parent
310c43d7ad
commit
4cf1bcf70f
@ -746,7 +746,7 @@ bool natt_open_port(struct natt_device *device,
|
||||
"</u:%s>"
|
||||
"</s:Body>"
|
||||
"</s:Envelope>";
|
||||
char buf[1024];
|
||||
char buf[1280];
|
||||
const char *action;
|
||||
char host[256], port[6];
|
||||
|
||||
|
@ -615,7 +615,7 @@ static bool netplay_lan_ad_server(netplay_t *netplay)
|
||||
&addr_size) == sizeof(header))
|
||||
{
|
||||
const frontend_ctx_driver_t *frontend_drv;
|
||||
char frontend_architecture_tmp[32];
|
||||
char frontend_architecture_tmp[24];
|
||||
uint32_t content_crc = 0;
|
||||
struct retro_system_info *system = &runloop_state_get_ptr()->system.info;
|
||||
struct string_list *subsystem = path_get_subsystem_list();
|
||||
@ -8437,8 +8437,8 @@ bool init_netplay(const char *server, unsigned port, const char *mitm_session)
|
||||
return false;
|
||||
net_st->chat->message_slots = ARRAY_SIZE(net_st->chat->messages);
|
||||
|
||||
net_st->reannounce = -1;
|
||||
net_st->reping = -1;
|
||||
net_st->reannounce = 900;
|
||||
net_st->reping = -1;
|
||||
|
||||
if (net_st->data->is_server)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user