mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
var usage
This commit is contained in:
parent
72ccda2a0a
commit
2596c41832
1 changed files with 2 additions and 2 deletions
|
|
@ -107,8 +107,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
||||||
}
|
}
|
||||||
catch (SocketException exception)
|
catch (SocketException exception)
|
||||||
{
|
{
|
||||||
var errNo = WinSockHelper.ConvertError((WsaError)exception.ErrorCode);
|
LinuxError errNo = WinSockHelper.ConvertError((WsaError)exception.ErrorCode);
|
||||||
return WriteBsdResult(context, 0, errno);
|
return WriteBsdResult(context, 0, errNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
int newSockFd = _context.RegisterFileDescriptor(newBsdSocket);
|
int newSockFd = _context.RegisterFileDescriptor(newBsdSocket);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue