mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 17:36:24 +02:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
parent
a09d314817
commit
dfb4854d19
172 changed files with 902 additions and 914 deletions
|
@ -10,7 +10,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
private readonly HostMemoryAllocator _hostMemory;
|
||||
|
||||
public DeviceMemory Memory { get; }
|
||||
public IntPtr HostPointer { get; }
|
||||
public nint HostPointer { get; }
|
||||
public ulong Offset { get; }
|
||||
public ulong Size { get; }
|
||||
|
||||
|
@ -18,7 +18,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
MemoryAllocatorBlockList owner,
|
||||
MemoryAllocatorBlockList.Block block,
|
||||
DeviceMemory memory,
|
||||
IntPtr hostPointer,
|
||||
nint hostPointer,
|
||||
ulong offset,
|
||||
ulong size)
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
public MemoryAllocation(
|
||||
HostMemoryAllocator hostMemory,
|
||||
DeviceMemory memory,
|
||||
IntPtr hostPointer,
|
||||
nint hostPointer,
|
||||
ulong offset,
|
||||
ulong size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue