Merge pull request #721 from lioncash/netplay-unused-param

Core: Kill off an unused parameter for NetPlayServer::StartGame
This commit is contained in:
Lioncash 2014-08-02 18:31:38 -04:00
commit 0bcebd81f6
3 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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[]);

View File

@ -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)