misc: Use nint/nuint instead of IntPtr/UIntPtr

This commit is contained in:
KeatonTheBot
2025-11-23 13:42:38 -06:00
parent 2d720fea03
commit c1e24961f9
163 changed files with 845 additions and 845 deletions
@@ -31,7 +31,7 @@ namespace Ryujinx.Graphics.Vulkan
unsafe
{
DeviceName = Marshal.PtrToStringAnsi((IntPtr)physicalDeviceProperties.DeviceName);
DeviceName = Marshal.PtrToStringAnsi((nint)physicalDeviceProperties.DeviceName);
}
uint propertiesCount = 0;
@@ -50,7 +50,7 @@ namespace Ryujinx.Graphics.Vulkan
unsafe
{
DeviceExtensions = extensionProperties.Select(x => Marshal.PtrToStringAnsi((IntPtr)x.ExtensionName)).ToImmutableHashSet();
DeviceExtensions = extensionProperties.Select(x => Marshal.PtrToStringAnsi((nint)x.ExtensionName)).ToImmutableHashSet();
}
}