aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-01-01 20:14:18 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commita11f6f52350e2cd1ba80fb45a3e69194cdc605b5 (patch)
treef9f90791e6e1ae446015b4184c0c19173e7510a9 /Ryujinx.Graphics.Gpu/Memory/RangeList.cs
parent23d85167635fe5e3185098aab05d1c33b919e5ac (diff)
Fix some spelling mistakes
Thanks to LDj3SNuD for spotting these
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Memory/RangeList.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Memory/RangeList.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Gpu/Memory/RangeList.cs b/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
index d65814b3..6af440c0 100644
--- a/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
+++ b/Ryujinx.Graphics.Gpu/Memory/RangeList.cs
@@ -39,7 +39,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
}
/// <summary>
- /// Removes a item from the list.
+ /// Removes an item from the list.
/// </summary>
/// <param name="item">The item to be removed</param>
/// <returns>True if the item was removed, or false if it was not found</returns>
@@ -97,7 +97,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// It only ensures that the item returned overlaps the specified memory range.
/// </remarks>
/// <param name="address">Start address of the range</param>
- /// <param name="size">Size in bytes or the rangee</param>
+ /// <param name="size">Size in bytes of the range</param>
/// <returns>The overlapping item, or the default value for the type if none found</returns>
public T FindFirstOverlap(ulong address, ulong size)
{
@@ -126,7 +126,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// Gets all items on the list overlapping the specified memory range.
/// </summary>
/// <param name="address">Start address of the range</param>
- /// <param name="size">Size in bytes or the rangee</param>
+ /// <param name="size">Size in bytes of the range</param>
/// <param name="output">Output array where matches will be written. It is automatically resized to fit the results</param>
/// <returns>The number of overlapping items found</returns>
public int FindOverlaps(ulong address, ulong size, ref T[] output)
@@ -184,7 +184,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// This method is faster than the regular method to find all overlaps.
/// </remarks>
/// <param name="address">Start address of the range</param>
- /// <param name="size">Size in bytes or the rangee</param>
+ /// <param name="size">Size in bytes of the range</param>
/// <param name="output">Output array where matches will be written. It is automatically resized to fit the results</param>
/// <returns>The number of overlapping items found</returns>
public int FindOverlapsNonOverlapping(ulong address, ulong size, ref T[] output)
@@ -297,7 +297,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// Performs binary search for items overlapping a given memory range.
/// </summary>
/// <param name="address">Start address of the range</param>
- /// <param name="size">Size of the range in bytes</param>
+ /// <param name="size">Size in bytes of the range</param>
/// <returns>List index of the item, or complement index of nearest item with lower value on the list</returns>
private int BinarySearch(ulong address, ulong size)
{