mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
send force MITM setting with lobby announcement
This commit is contained in:
parent
f2c4eb5047
commit
8a01dda5d6
@ -543,9 +543,11 @@ static void netplay_announce(void)
|
||||
buf[0] = '\0';
|
||||
|
||||
snprintf(buf, sizeof(buf), "username=%s&core_name=%s&core_version=%s&"
|
||||
"game_name=%s&game_crc=%08X&port=%d&has_password=%d&has_spectate_password=%d",
|
||||
"game_name=%s&game_crc=%08X&port=%d"
|
||||
"&has_password=%d&has_spectate_password=%d&force_mitm=%d",
|
||||
username, corename, coreversion, gamename, *content_crc_ptr,
|
||||
settings->netplay.port, settings->netplay.password ? 1 : 0, settings->netplay.spectate_password ? 1 : 0);
|
||||
settings->netplay.port, settings->netplay.password ? 1 : 0, settings->netplay.spectate_password ? 1 : 0,
|
||||
settings->netplay.use_mitm_server);
|
||||
|
||||
task_push_http_post_transfer(url, buf, true, NULL, netplay_announce_cb, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user