mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
NetPlay: Allow building a server without a game
This isn't hooked up in the UI yet, but it will allow us to basically start the server and chat system without choosing a game.
This commit is contained in:
@ -220,8 +220,8 @@ void NetPlaySetupDiag::OnHost(wxCommandEvent&)
|
||||
npd = new NetPlayDiag(m_parent, m_game_list, game, true);
|
||||
unsigned long port = 0;
|
||||
m_host_port_text->GetValue().ToULong(&port);
|
||||
netplay_ptr = new NetPlayServer(u16(port)
|
||||
, WxStrToStr(m_nickname_text->GetValue()), npd, game);
|
||||
netplay_ptr = new NetPlayServer(u16(port), WxStrToStr(m_nickname_text->GetValue()), npd);
|
||||
netplay_ptr->ChangeGame(game);
|
||||
if (netplay_ptr->is_connected)
|
||||
{
|
||||
#ifdef USE_UPNP
|
||||
|
Reference in New Issue
Block a user