Simplify and improve.

Note - I removed a SleepCurrentThread(1) the patch added which seemed to
be unrelated to the actual job at hand.  If there was a real need for it
(which sounds like it would be an enet-related bug - enet_host_service
is supposed to *sleep*), that needs to be dealt with...
This commit is contained in:
comex
2015-06-05 19:00:26 -04:00
parent 04ca54623c
commit f2631a835e
5 changed files with 46 additions and 42 deletions

View File

@ -165,7 +165,7 @@ void FrameUpdate()
s_bPolled = false;
if (NetPlay::IsNetPlayRunning() && SConfig::GetInstance().m_NetplayDesyncCheck)
if (NetPlay::IsNetPlayRunning())
NetPlayClient::SendTimeBase();
}