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
|
||||
bool NetPlayServer::StartGame(const std::string &path)
|
||||
bool NetPlayServer::StartGame()
|
||||
{
|
||||
std::lock_guard<std::recursive_mutex> lkg(m_crit.game);
|
||||
m_current_game = Common::Timer::GetTimeMs();
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
void SetNetSettings(const NetSettings &settings);
|
||||
|
||||
bool StartGame(const std::string &path);
|
||||
bool StartGame();
|
||||
|
||||
void GetPadMapping(PadMapping map[]);
|
||||
void SetPadMapping(const PadMapping map[]);
|
||||
|
|
|
@ -468,7 +468,7 @@ void NetPlayDiag::OnStart(wxCommandEvent&)
|
|||
NetSettings settings;
|
||||
GetNetSettings(settings);
|
||||
netplay_server->SetNetSettings(settings);
|
||||
netplay_server->StartGame(FindGame());
|
||||
netplay_server->StartGame();
|
||||
}
|
||||
|
||||
void NetPlayDiag::BootGame(const std::string& filename)
|
||||
|
|
Loading…
Reference in New Issue