mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-26 12:50:44 -05: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