fix: socket blocking flag is inverted when setting it (ryubing/ryujinx!57)

See merge request ryubing/ryujinx!57
This commit is contained in:
Coxxs 2025-06-11 16:44:07 -05:00 committed by GreemDev
parent 90e9492f6c
commit d03ae9c164

View File

@ -885,7 +885,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