mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Added TraversalServer.cpp to Core/Common
This commit is contained in:
parent
619a3a5171
commit
779f275486
6 changed files with 472 additions and 12 deletions
|
@ -135,14 +135,14 @@ NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl*
|
|||
nick_szr->Add(m_nickname_text, 0, wxALL, 5);
|
||||
|
||||
std::string centralServer;
|
||||
netplay_section.Get("TraversalServer", ¢ralServer, "vps.qoid.us");
|
||||
netplay_section.Get("TraversalServer", ¢ralServer, "");
|
||||
m_traversal_server_lbl = new wxStaticText(panel, wxID_ANY, _("Traversal:"));
|
||||
m_traversal_server = new wxTextCtrl(panel, wxID_ANY, StrToWxStr(centralServer));
|
||||
nick_szr->Add(m_traversal_server_lbl, 0, wxCENTER);
|
||||
nick_szr->Add(m_traversal_server, 0, wxALL, 5);
|
||||
|
||||
std::string centralPort;
|
||||
netplay_section.Get("TraversalPort", ¢ralPort, "6262");
|
||||
netplay_section.Get("TraversalPort", ¢ralPort, "");
|
||||
m_traversal_port_lbl = new wxStaticText(panel, wxID_ANY, _("Port:"));
|
||||
m_traversal_port = new wxTextCtrl(panel, wxID_ANY, StrToWxStr(centralPort));
|
||||
nick_szr->Add(m_traversal_port_lbl, 0, wxCENTER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue