[Netplay:Traversal] Add "Force Netplay Listen Port" feature that was in old netplay branch

This commit is contained in:
CastellaFactory
2015-09-20 20:08:37 +09:00
parent 63c373c843
commit 1f83a3d146
5 changed files with 54 additions and 14 deletions

View File

@ -79,7 +79,7 @@ NetPlayServer::NetPlayServer(const u16 port, bool traversal, const std::string&
if (traversal)
{
if (!EnsureTraversalClient(centralServer, centralPort))
if (!EnsureTraversalClient(centralServer, centralPort, port))
return;
g_TraversalClient->m_Client = this;