mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
Fixing an incompatibility between stateless mode and the password prompt
Previously, the host would time out waiting for the guest to enter a password, as the timeout was not conditionalized on whether the guest was actually playing. This fixes that.
This commit is contained in:
parent
c91a4fa12e
commit
addcbb896a
@ -177,7 +177,9 @@ static bool netplay_poll(void)
|
||||
|
||||
/* Read Netplay input, block if we're configured to stall for input every
|
||||
* frame */
|
||||
netplay_update_unread_ptr(netplay_data);
|
||||
if (netplay_data->stateless_mode &&
|
||||
netplay_data->connected_players &&
|
||||
netplay_data->unread_frame_count <= netplay_data->self_frame_count)
|
||||
res = netplay_poll_net_input(netplay_data, true);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user