mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 13:45:49 +00:00
Fix JWT Claims and Socket Flag Handling to Improve Just Dance® Server Connection
See merge request ryubing/ryujinx!38
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