Merge pull request #721 from lioncash/netplay-unused-param
Core: Kill off an unused parameter for NetPlayServer::StartGame
This commit is contained in:
commit
0bcebd81f6
|
@ -535,7 +535,7 @@ void NetPlayServer::SetNetSettings(const NetSettings &settings)
|
||||||
}
|
}
|
||||||
|
|
||||||
// called from ---GUI--- thread
|
// called from ---GUI--- thread
|
||||||
bool NetPlayServer::StartGame(const std::string &path)
|
bool NetPlayServer::StartGame()
|
||||||
{
|
{
|
||||||
std::lock_guard<std::recursive_mutex> lkg(m_crit.game);
|
std::lock_guard<std::recursive_mutex> lkg(m_crit.game);
|
||||||
m_current_game = Common::Timer::GetTimeMs();
|
m_current_game = Common::Timer::GetTimeMs();
|
||||||
|
|
|
@ -31,7 +31,7 @@ public:
|
||||||
|
|
||||||
void SetNetSettings(const NetSettings &settings);
|
void SetNetSettings(const NetSettings &settings);
|
||||||
|
|
||||||
bool StartGame(const std::string &path);
|
bool StartGame();
|
||||||
|
|
||||||
void GetPadMapping(PadMapping map[]);
|
void GetPadMapping(PadMapping map[]);
|
||||||
void SetPadMapping(const PadMapping map[]);
|
void SetPadMapping(const PadMapping map[]);
|
||||||
|
|
|
@ -468,7 +468,7 @@ void NetPlayDiag::OnStart(wxCommandEvent&)
|
||||||
NetSettings settings;
|
NetSettings settings;
|
||||||
GetNetSettings(settings);
|
GetNetSettings(settings);
|
||||||
netplay_server->SetNetSettings(settings);
|
netplay_server->SetNetSettings(settings);
|
||||||
netplay_server->StartGame(FindGame());
|
netplay_server->StartGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetPlayDiag::BootGame(const std::string& filename)
|
void NetPlayDiag::BootGame(const std::string& filename)
|
||||||
|
|
Loading…
Reference in New Issue