RARCH_CMD_FLIP_USERS - return false when netplay handle is NULL

This commit is contained in:
twinaphex 2015-01-11 15:55:31 +01:00
parent 38a451b55b
commit 457ad74aee

View File

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