mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
fix socket recv under anything not Windows
This commit is contained in:
@ -224,7 +224,7 @@ int MP_RecvPacket(u8* data, bool block)
|
|||||||
tv.tv_sec = 0;
|
tv.tv_sec = 0;
|
||||||
tv.tv_usec = 0;
|
tv.tv_usec = 0;
|
||||||
|
|
||||||
if (!select(1, &fd, 0, 0, &tv))
|
if (!select(MPSocket+1, &fd, 0, 0, &tv))
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user