diff options
| author | sharmander <saldabain.dev@gmail.com> | 2020-12-11 00:05:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-11 06:05:53 +0100 |
| commit | 8a6607540ea8933ef9f1f0ff40d910d5bfc3b600 (patch) | |
| tree | fbe6e6641952337e242291222787a5c62da5ecee /Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs | |
| parent | d9ec2b3a81538e8cbb2ec869a792a6b5500a3137 (diff) | |
GPU: Improve unnecessary return value in Map function. (#1799)
* Implement VFNMA.F<32/64>
* Update PTC Version
* Update Implementation & Renames & Correct Order
* Add Logging
* Additional logging
* Add additional check to restart loop from beginning if address goes beyond maximum allowed.
* Additional Check that the total range required doesn't exceed capacity of allocator addresses.
* Improve logging
* Ensure hex output
* Update Ryujinx.HLE/HOS/Services/Nv/NvMemoryAllocator.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
* Remove extra page at end
* Remove unnecessary return val in Map function.
* Remove incorrect description
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs b/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs index 2990fb52..b1b1a1a8 100644 --- a/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs +++ b/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs @@ -115,8 +115,7 @@ namespace Ryujinx.Graphics.Gpu.Memory /// <param name="pa">CPU virtual address to map into</param> /// <param name="va">GPU virtual address to be mapped</param> /// <param name="size">Size in bytes of the mapping</param> - /// <returns>GPU virtual address of the mapping</returns> - public ulong Map(ulong pa, ulong va, ulong size) + public void Map(ulong pa, ulong va, ulong size) { lock (_pageTable) { @@ -127,8 +126,6 @@ namespace Ryujinx.Graphics.Gpu.Memory SetPte(va + offset, pa + offset); } } - - return va; } /// <summary> |
