From a11f6f52350e2cd1ba80fb45a3e69194cdc605b5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 1 Jan 2020 20:14:18 -0300 Subject: Fix some spelling mistakes Thanks to LDj3SNuD for spotting these --- Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs') diff --git a/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs b/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs index d0171b42..2fc315c3 100644 --- a/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs +++ b/Ryujinx.Graphics.Gpu/Memory/MemoryManager.cs @@ -65,7 +65,7 @@ namespace Ryujinx.Graphics.Gpu.Memory /// The memory is automatically allocated by the memory manager. /// /// CPU virtual address to map into - /// Mapping size in bytes + /// Size in bytes of the mapping /// GPU virtual address where the range was mapped, or an all ones mask in case of failure public ulong Map(ulong pa, ulong size) { @@ -91,7 +91,7 @@ namespace Ryujinx.Graphics.Gpu.Memory /// This also ensures that the mapping is always done in the first 4GB of GPU address space. /// /// CPU virtual address to map into - /// Mapping size in bytes + /// Size in bytes of the mapping /// GPU virtual address where the range was mapped, or an all ones mask in case of failure public ulong MapLow(ulong pa, ulong size) { @@ -120,7 +120,7 @@ namespace Ryujinx.Graphics.Gpu.Memory /// This prevents the reserved region from being used for memory allocation for map. /// /// GPU virtual address to reserve - /// Reservation size in bytes + /// Size in bytes of the reservation /// GPU virtual address of the reservation, or an all ones mask in case of failure public ulong ReserveFixed(ulong va, ulong size) { @@ -146,7 +146,7 @@ namespace Ryujinx.Graphics.Gpu.Memory /// /// Reserves memory at any GPU memory location. /// - /// Reservation size in bytes + /// Size in bytes of the reservation /// Reservation address alignment in bytes /// GPU virtual address of the reservation, or an all ones mask in case of failure public ulong Reserve(ulong size, ulong alignment) @@ -184,7 +184,7 @@ namespace Ryujinx.Graphics.Gpu.Memory } /// - /// Gets the address of a unused (free) region of the specified size. + /// Gets the address of an unused (free) region of the specified size. /// /// Size of the region in bytes /// Required alignment of the region address in bytes @@ -250,7 +250,7 @@ namespace Ryujinx.Graphics.Gpu.Memory } /// - /// Translated a GPU virtual address to a CPU virtual address. + /// Translates a GPU virtual address to a CPU virtual address. /// /// GPU virtual address to be translated /// CPU virtual address -- cgit v1.2.3