diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-06-09 13:05:41 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-06-09 13:05:41 -0300 |
| commit | 7f5a8effbb0bbf7e972dbbfb6792cdea48455739 (patch) | |
| tree | 1e498d073ccbf7692ad57aeee191d2280d8656fb /Ryujinx.Core/Gpu | |
| parent | 91420a402c9e786ddef2811bb671003dd0a40565 (diff) | |
Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, fix regression on address range checking
Diffstat (limited to 'Ryujinx.Core/Gpu')
| -rw-r--r-- | Ryujinx.Core/Gpu/NvGpuVmm.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Core/Gpu/NvGpuVmm.cs b/Ryujinx.Core/Gpu/NvGpuVmm.cs index 73fc2661..98b624d8 100644 --- a/Ryujinx.Core/Gpu/NvGpuVmm.cs +++ b/Ryujinx.Core/Gpu/NvGpuVmm.cs @@ -404,7 +404,7 @@ namespace Ryujinx.Core.Gpu { Position = GetPhysicalAddress(Position); - AMemoryHelper.WriteBytes(Memory, Position, Data); + Memory.WriteBytes(Position, Data); } } }
\ No newline at end of file |
