mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +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].gamename,
|
||||||
netplay_room_list[idx - 1].gamecrc);
|
netplay_room_list[idx - 1].gamecrc);
|
||||||
|
|
||||||
/* If we haven't yet started, this will load on its own */
|
task_push_netplay_crc_scan(netplay_room_list[idx - 1].gamecrc,
|
||||||
if (!content_is_inited())
|
tmp_hostname, netplay_room_list[idx - 1].corename);
|
||||||
{
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user