fix potential problem with blocking
This commit is contained in:
parent
a430821ad9
commit
40c0ff418c
|
@ -1067,6 +1067,8 @@ void Process(bool block)
|
||||||
{
|
{
|
||||||
if (!Host) return;
|
if (!Host) return;
|
||||||
|
|
||||||
|
if (!RXQueue.empty()) block = false;
|
||||||
|
|
||||||
int timeout = block ? MPRecvTimeout : 0;
|
int timeout = block ? MPRecvTimeout : 0;
|
||||||
u32 time_last = SDL_GetTicks();
|
u32 time_last = SDL_GetTicks();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue