mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
fix setting of netplay has_password in lobby announcement
This commit is contained in:
parent
4b796ae740
commit
d9c78c75f0
@ -625,7 +625,7 @@ static void netplay_announce(void)
|
|||||||
"game_name=%s&game_crc=%08X&port=%d"
|
"game_name=%s&game_crc=%08X&port=%d"
|
||||||
"&has_password=%d&has_spectate_password=%d&force_mitm=%d",
|
"&has_password=%d&has_spectate_password=%d&force_mitm=%d",
|
||||||
username, corename, coreversion, gamename, *content_crc_ptr,
|
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);
|
settings->netplay.use_mitm_server);
|
||||||
|
|
||||||
task_push_http_post_transfer(url, buf, true, NULL, netplay_announce_cb, NULL);
|
task_push_http_post_transfer(url, buf, true, NULL, netplay_announce_cb, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user