mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
Fix rpcn registration
This commit is contained in:
parent
447d2b6f93
commit
801467e565
@ -295,7 +295,12 @@ bool rpcn_client::connect(const std::string& host)
|
|||||||
connected = true;
|
connected = true;
|
||||||
|
|
||||||
while (!server_info_received && connected && !is_abort())
|
while (!server_info_received && connected && !is_abort())
|
||||||
thread_ctrl::wait_for(5000);
|
{
|
||||||
|
if (in_config)
|
||||||
|
std::this_thread::sleep_for(5ms);
|
||||||
|
else
|
||||||
|
thread_ctrl::wait_for(5000);
|
||||||
|
}
|
||||||
|
|
||||||
if (received_version != RPCN_PROTOCOL_VERSION)
|
if (received_version != RPCN_PROTOCOL_VERSION)
|
||||||
{
|
{
|
||||||
@ -561,7 +566,11 @@ bool rpcn_client::get_reply(const u32 expected_id, std::vector<u8>& data)
|
|||||||
{
|
{
|
||||||
if (check_for_reply())
|
if (check_for_reply())
|
||||||
return true;
|
return true;
|
||||||
thread_ctrl::wait_for(5000);
|
|
||||||
|
if (in_config)
|
||||||
|
std::this_thread::sleep_for(5ms);
|
||||||
|
else
|
||||||
|
thread_ctrl::wait_for(5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_for_reply())
|
if (check_for_reply())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user