Merge pull request #3905 from GregorR/netplay-disconnect-disable

Disable netplay when we disconnect from the menu
This commit is contained in:
Twinaphex 2016-10-31 03:45:41 +01:00 committed by GitHub
commit 3e5b3da144

View File

@ -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