mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00: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:
parent
6b1c8f9d17
commit
cea7737aef
4 changed files with 34 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue