Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #721 from lioncash/netplay-unused-param
Core: Kill off an unused parameter for NetPlayServer::StartGame
  • Loading branch information
lioncash committed Aug 2, 2014
2 parents a77d397 + 44a157f commit 0bcebd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/NetPlayServer.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/NetPlayServer.h
Expand Up @@ -31,7 +31,7 @@ class NetPlayServer

void SetNetSettings(const NetSettings &settings);

bool StartGame(const std::string &path);
bool StartGame();

void GetPadMapping(PadMapping map[]);
void SetPadMapping(const PadMapping map[]);
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/NetWindow.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 0bcebd8

Please sign in to comment.