mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Reinstituted "standard" timeout-based disconnection, which only works
for stall_frames==0 due to the fixes to not stall the UI.
This commit is contained in:
parent
0ccc39769d
commit
8aa48cd3f9
@ -386,6 +386,9 @@ static int poll_input(netplay_t *netplay, bool block)
|
||||
|
||||
RARCH_LOG("Network is stalling at frame %u, count %u of %d ...\n",
|
||||
netplay->self_frame_count, netplay->timeout_cnt, MAX_RETRIES);
|
||||
|
||||
if (netplay->timeout_cnt >= MAX_RETRIES)
|
||||
return -1;
|
||||
} while (had_input || (block && (netplay->read_frame_count <= netplay->self_frame_count)));
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user