mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
Merge pull request #3905 from GregorR/netplay-disconnect-disable
Disable netplay when we disconnect from the menu
This commit is contained in:
commit
3e5b3da144
@ -3451,6 +3451,7 @@ static int action_ok_netplay_disconnect(const char *path,
|
||||
{
|
||||
#ifdef HAVE_NETWORKING
|
||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_DISCONNECT, NULL);
|
||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_DISABLE, NULL);
|
||||
return generic_action_ok_command(CMD_EVENT_RESUME);
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user