mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
RARCH_CMD_FLIP_USERS - return false when netplay handle is NULL
This commit is contained in:
parent
38a451b55b
commit
457ad74aee
@ -2843,8 +2843,9 @@ bool rarch_main_command(unsigned cmd)
|
||||
#ifdef HAVE_NETPLAY
|
||||
{
|
||||
netplay_t *netplay = (netplay_t*)driver.netplay_data;
|
||||
if (netplay)
|
||||
netplay_flip_users(netplay);
|
||||
if (!netplay)
|
||||
return false;
|
||||
netplay_flip_users(netplay);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user