aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/NativeMemoryManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Memory/NativeMemoryManager.cs')
-rw-r--r--src/Ryujinx.Memory/NativeMemoryManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Ryujinx.Memory/NativeMemoryManager.cs b/src/Ryujinx.Memory/NativeMemoryManager.cs
index 9ca63293..cb8d5c24 100644
--- a/src/Ryujinx.Memory/NativeMemoryManager.cs
+++ b/src/Ryujinx.Memory/NativeMemoryManager.cs
@@ -8,6 +8,11 @@ namespace Ryujinx.Memory
private readonly T* _pointer;
private readonly int _length;
+ public NativeMemoryManager(nuint pointer, int length)
+ : this((T*)pointer, length)
+ {
+ }
+
public NativeMemoryManager(T* pointer, int length)
{
_pointer = pointer;