misc: chore: Fix XML errors

This commit is contained in:
KeatonTheBot 2025-03-28 02:15:07 -05:00
parent 198ee01437
commit feb3d9d31f
9 changed files with 12 additions and 11 deletions

View file

@ -75,7 +75,7 @@ namespace Ryujinx.Audio.Renderer.Dsp
/// Map decibel to linear. /// Map decibel to linear.
/// </summary> /// </summary>
/// <param name="db">The decibel value to convert</param> /// <param name="db">The decibel value to convert</param>
/// <returns>Converted linear value/returns> /// <returns>Converted linear value</returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static float DecibelToLinear(float db) public static float DecibelToLinear(float db)
{ {

View file

@ -73,7 +73,7 @@ namespace Ryujinx.Graphics.Gpu.Image
return (AddressMode)(Word0 & 7); return (AddressMode)(Word0 & 7);
} }
// <summary> /// <summary>
/// Unpacks the texture wrap mode along the Y axis. /// Unpacks the texture wrap mode along the Y axis.
/// </summary> /// </summary>
/// <returns>The texture wrap mode enum</returns> /// <returns>The texture wrap mode enum</returns>
@ -82,7 +82,7 @@ namespace Ryujinx.Graphics.Gpu.Image
return (AddressMode)((Word0 >> 3) & 7); return (AddressMode)((Word0 >> 3) & 7);
} }
// <summary> /// <summary>
/// Unpacks the texture wrap mode along the Z axis. /// Unpacks the texture wrap mode along the Z axis.
/// </summary> /// </summary>
/// <returns>The texture wrap mode enum</returns> /// <returns>The texture wrap mode enum</returns>

View file

@ -422,7 +422,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <param name="texturePool">The current texture pool</param> /// <param name="texturePool">The current texture pool</param>
/// <param name="samplerPool">The current sampler pool</param> /// <param name="samplerPool">The current sampler pool</param>
/// <param name="stage">The shader stage using the textures to be bound</param> /// <param name="stage">The shader stage using the textures to be bound</param>
/// <param name="stageIndex">The stage number of the specified shader stage</param /// <param name="stageIndex">The stage number of the specified shader stage</param>
/// <param name="poolModified">True if either the texture or sampler pool was modified, false otherwise</param> /// <param name="poolModified">True if either the texture or sampler pool was modified, false otherwise</param>
/// <param name="specState">Specialization state for the bound shader</param> /// <param name="specState">Specialization state for the bound shader</param>
/// <returns>True if all bound textures match the current shader specialiation state, false otherwise</returns> /// <returns>True if all bound textures match the current shader specialiation state, false otherwise</returns>

View file

@ -723,7 +723,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// Checks if aliasing of two formats that would normally be considered incompatible be allowed, /// Checks if aliasing of two formats that would normally be considered incompatible be allowed,
/// using copy dependencies. /// using copy dependencies.
/// </summary> /// </summary>
/// <param name="lhsFormat">Format information of the first texture</param /// <param name="lhsFormat">Format information of the first texture</param>
/// <param name="rhsFormat">Format information of the second texture</param> /// <param name="rhsFormat">Format information of the second texture</param>
/// <returns>True if aliasing should be allowed, false otherwise</returns> /// <returns>True if aliasing should be allowed, false otherwise</returns>
private static bool IsIncompatibleFormatAliasingAllowed(FormatInfo lhsFormat, FormatInfo rhsFormat) private static bool IsIncompatibleFormatAliasingAllowed(FormatInfo lhsFormat, FormatInfo rhsFormat)
@ -747,7 +747,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// Check if the target of the first texture view information is compatible with the target of the second texture view information. /// Check if the target of the first texture view information is compatible with the target of the second texture view information.
/// This follows the host API target compatibility rules. /// This follows the host API target compatibility rules.
/// </summary> /// </summary>
/// <param name="lhs">Texture information of the texture view</param /// <param name="lhs">Texture information of the texture view</param>
/// <param name="rhs">Texture information of the texture view</param> /// <param name="rhs">Texture information of the texture view</param>
/// <param name="caps">Host GPU capabilities</param> /// <param name="caps">Host GPU capabilities</param>
/// <returns>True if the targets are compatible, false otherwise</returns> /// <returns>True if the targets are compatible, false otherwise</returns>

View file

@ -130,7 +130,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
/// Sets whether the format of a given render target is a BGRA format. /// Sets whether the format of a given render target is a BGRA format.
/// </summary> /// </summary>
/// <param name="index">Render target index</param> /// <param name="index">Render target index</param>
/// <param name="isBgra">True if the format is BGRA< false otherwise</param> /// <param name="isBgra">True if the format is BGRA, false otherwise</param>
public void SetRenderTargetIsBgra(int index, bool isBgra) public void SetRenderTargetIsBgra(int index, bool isBgra)
{ {
bool isBgraChanged = _data.FragmentIsBgra[index].X != 0 != isBgra; bool isBgraChanged = _data.FragmentIsBgra[index].X != 0 != isBgra;

View file

@ -23,7 +23,7 @@ namespace Ryujinx.HLE.Loaders.Mods
/// Adds a patch in the form of an RLE (Fill mode). /// Adds a patch in the form of an RLE (Fill mode).
/// </summary> /// </summary>
/// <param name="offset">Memory offset</param> /// <param name="offset">Memory offset</param>
/// <param name="length"The fill length</param> /// <param name="length">The fill length</param>
/// <param name="filler">The byte to fill</param> /// <param name="filler">The byte to fill</param>
public void AddFill(uint offset, int length, byte filler) public void AddFill(uint offset, int length, byte filler)
{ {

View file

@ -44,6 +44,7 @@ namespace Ryujinx.HLE.UI
/// <param name="value">The value associated to the <paramref name="kind"/>.</param> /// <param name="value">The value associated to the <paramref name="kind"/>.</param>
void ExecuteProgram(Switch device, ProgramSpecifyKind kind, ulong value); void ExecuteProgram(Switch device, ProgramSpecifyKind kind, ulong value);
/// <summary>
/// Displays a Message Dialog box specific to Error Applet and blocks until it is closed. /// Displays a Message Dialog box specific to Error Applet and blocks until it is closed.
/// </summary> /// </summary>
/// <returns>False when OK is pressed, True when another button (Details) is pressed.</returns> /// <returns>False when OK is pressed, True when another button (Details) is pressed.</returns>

View file

@ -89,9 +89,9 @@ namespace Ryujinx.UI.Common.Configuration
} }
} }
// <summary> /// <summary>
/// Determines main window start-up position, size and state /// Determines main window start-up position, size and state
///<summary> /// </summary>
public class WindowStartupSettings public class WindowStartupSettings
{ {
public ReactiveObject<int> WindowSizeWidth { get; private set; } public ReactiveObject<int> WindowSizeWidth { get; private set; }

View file

@ -42,7 +42,7 @@ namespace Ryujinx.Ava.UI.Helpers
/// <typeparam name="T">The type of the element in the AvaoloniaList</typeparam> /// <typeparam name="T">The type of the element in the AvaoloniaList</typeparam>
/// <param name="list">The list containing the item to replace</param> /// <param name="list">The list containing the item to replace</param>
/// <param name="sourceList">The list of items to be actually added to `list`</param> /// <param name="sourceList">The list of items to be actually added to `list`</param>
/// <param name="matchingList">The items to use as matching records to search for in the `sourceList', if not found this item will be added instead</params> /// <param name="matchingList">The items to use as matching records to search for in the `sourceList', if not found this item will be added instead</param>
public static void AddOrReplaceMatching<T>(this AvaloniaList<T> list, IList<T> sourceList, IList<T> matchingList) public static void AddOrReplaceMatching<T>(this AvaloniaList<T> list, IList<T> sourceList, IList<T> matchingList)
{ {
foreach (var match in matchingList) foreach (var match in matchingList)