mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-12 05:05:26 +02:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
||||
|
||||
ProtocolType ProtocolType { get; }
|
||||
|
||||
IntPtr Handle { get; }
|
||||
nint Handle { get; }
|
||||
|
||||
LinuxError Receive(out int receiveSize, Span<byte> buffer, BsdSocketFlags flags);
|
||||
|
||||
|
@@ -21,7 +21,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
||||
|
||||
public bool Blocking { get => Socket.Blocking; set => Socket.Blocking = value; }
|
||||
|
||||
public IntPtr Handle => Socket.Handle;
|
||||
public nint Handle => Socket.Handle;
|
||||
|
||||
public IPEndPoint RemoteEndPoint => Socket.RemoteEndPoint as IPEndPoint;
|
||||
|
||||
|
Reference in New Issue
Block a user