fix: socket blocking flag is inverted when setting it

This commit is contained in:
Coxxs 2025-06-11 16:44:07 -05:00 committed by KeatonTheBot
parent c61d171e52
commit a90db3464d

View file

@ -884,7 +884,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
// F_SETFL
else if (cmd == 0x4)
{
socket.Blocking = (arg & 0x800) != 0;
socket.Blocking = (arg & 0x800) == 0;
result = 0;
}
else