mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
just reload the game when connecting to a netplay lobby
This commit is contained in:
parent
b594ab3d11
commit
692bedf7d3
@ -3140,18 +3140,8 @@ static int action_ok_netplay_connect_room(const char *path,
|
||||
netplay_room_list[idx - 1].gamename,
|
||||
netplay_room_list[idx - 1].gamecrc);
|
||||
|
||||
/* If we haven't yet started, this will load on its own */
|
||||
if (!content_is_inited())
|
||||
{
|
||||
task_push_netplay_crc_scan(netplay_room_list[idx - 1].gamecrc,
|
||||
tmp_hostname, netplay_room_list[idx - 1].corename);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Enable Netplay itself */
|
||||
if (!command_event(CMD_EVENT_NETPLAY_INIT, (void *) tmp_hostname))
|
||||
return -1;
|
||||
}
|
||||
task_push_netplay_crc_scan(netplay_room_list[idx - 1].gamecrc,
|
||||
tmp_hostname, netplay_room_list[idx - 1].corename);
|
||||
|
||||
#else
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user