1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-26 06:40:39 +00:00

Disable netplay when we disconnect from the menu, so it doesn't reenable

itself.
This commit is contained in:
Gregor Richards 2016-10-30 14:41:19 -04:00
parent 19c1b00bdc
commit c0d2128369

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