mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-05 09:39:32 +00:00
Merge pull request #4325 from GregorR/netplay-connect-fail-crash
Fixing a bug that caused retroarch to crash if netplay failed to connect
This commit is contained in:
commit
a08a7c1380
@ -2420,7 +2420,10 @@ bool command_event(enum event_command cmd, void *data)
|
|||||||
if (!init_netplay(
|
if (!init_netplay(
|
||||||
data, settings->netplay.server,
|
data, settings->netplay.server,
|
||||||
settings->netplay.port))
|
settings->netplay.port))
|
||||||
|
{
|
||||||
|
command_event(CMD_EVENT_NETPLAY_DEINIT, NULL);
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user