mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-06 07:36:26 +02: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:
parent
f14d65b543
commit
1d923ba7b0
2 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue