mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-26 04:36:01 +00:00
commit
3eb2eb95f2
@ -948,8 +948,10 @@ bool init_netplay(void *direct_host, const char *server, unsigned port)
|
||||
|
||||
netplay_data = (netplay_t*)netplay_new(
|
||||
netplay_is_client ? direct_host : NULL,
|
||||
netplay_is_client ? (!netplay_client_deferred ? server : server_address_deferred) : NULL,
|
||||
port ? ( !netplay_client_deferred ? port : server_port_deferred) : RARCH_DEFAULT_PORT,
|
||||
netplay_is_client ? (!netplay_client_deferred ? server
|
||||
: server_address_deferred) : NULL,
|
||||
netplay_is_client ? (!netplay_client_deferred ? port
|
||||
: server_port_deferred ) : (port != 0 ? port : RARCH_DEFAULT_PORT),
|
||||
settings->netplay.stateless_mode, settings->netplay.check_frames, &cbs,
|
||||
settings->netplay.nat_traversal, settings->username,
|
||||
quirks);
|
||||
|
Loading…
Reference in New Issue
Block a user