mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-28 20:47:58 +02:00
Fix errors in 88cef7e8: misc: chore: Use explicit types & fix object creation
This commit is contained in:
@@ -220,7 +220,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
MemoryTypeIndex = (uint)MemoryTypeIndex,
|
||||
};
|
||||
|
||||
_api.AllocateMemory(_device, in memoryAllocateInfo, null, out DeviceMemory* deviceMemory).ThrowOnError();
|
||||
_api.AllocateMemory(_device, in memoryAllocateInfo, null, out DeviceMemory deviceMemory).ThrowOnError();
|
||||
|
||||
nint hostPointer = nint.Zero;
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
hostPointer = (nint)pointer;
|
||||
}
|
||||
|
||||
Block newBlock = new Block(deviceMemory, hostPointer, blockAlignedSize);
|
||||
Block newBlock = new(deviceMemory, hostPointer, blockAlignedSize);
|
||||
|
||||
InsertBlock(newBlock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user