mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Core: Kill off an unused parameter for NetPlayServer::StartGame
This commit is contained in:
parent
46ce810b45
commit
44a157fc09
@ -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
Block a user