mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
misc: Use nint/nuint instead of IntPtr/UIntPtr
This commit is contained in:
1 parent
90cb9d42db
commit
2c50fbcc1f
163 files changed
+844
-844
No files matched your search
@@ -7,11 +7,11 @@ namespace Ryujinx.Audio.Backends.SoundIo.Native
|
||||
{
|
||||
public class SoundIoDeviceContext
|
||||
{
|
||||
private readonly IntPtr _context;
|
||||
private readonly nint _context;
|
||||
|
||||
public IntPtr Context => _context;
|
||||
public nint Context => _context;
|
||||
|
||||
internal SoundIoDeviceContext(IntPtr context)
|
||||
internal SoundIoDeviceContext(nint context)
|
||||
{
|
||||
_context = context;
|
||||
}
|
||||
@@ -36,9 +36,9 @@ namespace Ryujinx.Audio.Backends.SoundIo.Native
|
||||
|
||||
public SoundIoOutStreamContext CreateOutStream()
|
||||
{
|
||||
IntPtr context = soundio_outstream_create(_context);
|
||||
nint context = soundio_outstream_create(_context);
|
||||
|
||||
if (context == IntPtr.Zero)
|
||||
if (context == nint.Zero)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user