mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-06 00:58:58 +02:00
Fix JWT Claims and Socket Flag Handling to Improve Just Dance® Server Connection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user