NetPlay: Pass Wii FS sync data directly to game boot logic instead of indirectly through globals.

This commit is contained in:
Admiral H. Curtiss 2021-11-20 21:03:34 +01:00
commit 6350c93ae1
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
6 changed files with 40 additions and 38 deletions

View file

@ -1819,7 +1819,7 @@ bool NetPlayServer::SyncSaveData()
}
// Set titles for host-side loading in WiiRoot
SetWiiSyncData(nullptr, titles);
m_dialog->SetHostWiiSyncTitles(std::move(titles));
SendChunkedToClients(std::move(pac), 1, "Wii Save Synchronization");
}