diff options
Diffstat (limited to 'Ryujinx.Memory/MemoryBlock.cs')
| -rw-r--r-- | Ryujinx.Memory/MemoryBlock.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Memory/MemoryBlock.cs b/Ryujinx.Memory/MemoryBlock.cs index e331a453..25c66dfe 100644 --- a/Ryujinx.Memory/MemoryBlock.cs +++ b/Ryujinx.Memory/MemoryBlock.cs @@ -333,7 +333,7 @@ namespace Ryujinx.Memory /// <exception cref="InvalidMemoryRegionException">Throw when either <paramref name="offset"/> or <paramref name="size"/> are out of range</exception> public WritableRegion GetWritableRegion(ulong offset, int size) { - return new WritableRegion(this, offset, GetMemory(offset, size)); + return new WritableRegion(null, offset, GetMemory(offset, size)); } /// <summary> |
