mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Fix crash on stop in netplay, and stop netplay when anyone with a pad mapped in game stops emulation.
This commit is contained in:
@ -650,8 +650,6 @@ void PadMapDiag::OnAdjust(wxCommandEvent& event)
|
||||
|
||||
void NetPlay::StopGame()
|
||||
{
|
||||
if (netplay_server != NULL)
|
||||
netplay_server->StopGame();
|
||||
|
||||
// TODO: allow non-hosting clients to close the window
|
||||
if (netplay_client != NULL)
|
||||
netplay_client->Stop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user