mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 15:39:55 +00:00
Fixing a bug that caused retroarch to crash if netplay failed to connect
This commit is contained in:
parent
c6269e3ade
commit
9ecd0ba8c7
@ -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…
x
Reference in New Issue
Block a user