mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-16 13:37:03 +00:00
fix: socket blocking flag is inverted when setting it
This commit is contained in:
parent
4605c8bbd3
commit
9b6b9146e2
1 changed files with 1 additions and 1 deletions
|
|
@ -884,7 +884,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
||||||
// F_SETFL
|
// F_SETFL
|
||||||
else if (cmd == 0x4)
|
else if (cmd == 0x4)
|
||||||
{
|
{
|
||||||
socket.Blocking = (arg & 0x800) != 0;
|
socket.Blocking = (arg & 0x800) == 0;
|
||||||
result = 0;
|
result = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue