Fix JWT Claims and Socket Flag Handling to Improve Just Dance® Server Connection

See merge request ryubing/ryujinx!38
This commit is contained in:
MrKev 2025-05-27 16:46:54 -05:00 committed by GreemDev
parent f14d65b543
commit 1d923ba7b0
2 changed files with 8 additions and 5 deletions

View file

@ -876,13 +876,15 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
{
errno = LinuxError.SUCCESS;
// F_GETFL
if (cmd == 0x3)
{
result = !socket.Blocking ? 0x800 : 0;
}
else if (cmd == 0x4 && arg == 0x800)
// F_SETFL
else if (cmd == 0x4)
{
socket.Blocking = false;
socket.Blocking = (arg & 0x800) != 0;
result = 0;
}
else