mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #8861 from JosJuice/netplay-hash
Make netplay's "same game" check more robust
This commit is contained in:
@@ -1374,7 +1374,7 @@ bool MainWindow::NetPlayJoin()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MainWindow::NetPlayHost(const QString& game_id)
|
||||
bool MainWindow::NetPlayHost(const UICommon::GameFile& game)
|
||||
{
|
||||
if (Core::IsRunning())
|
||||
{
|
||||
@@ -1419,7 +1419,8 @@ bool MainWindow::NetPlayHost(const QString& game_id)
|
||||
return false;
|
||||
}
|
||||
|
||||
Settings::Instance().GetNetPlayServer()->ChangeGame(game_id.toStdString());
|
||||
Settings::Instance().GetNetPlayServer()->ChangeGame(game.GetSyncIdentifier(),
|
||||
m_game_list->GetNetPlayName(game));
|
||||
|
||||
// Join our local server
|
||||
return NetPlayJoin();
|
||||
|
||||
Reference in New Issue
Block a user