mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
fix potential problem with blocking
This commit is contained in:
@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user