consistency

This commit is contained in:
GreemDev 2025-12-28 00:51:05 -06:00
parent 801dcd5237
commit 854df7c347

View file

@ -160,7 +160,7 @@ namespace Ryujinx.Graphics.RenderDocApi
/// <param name="option">specifies which capture option should be retrieved.</param>
/// <returns>
/// the value of the capture option, if the option is a valid <see cref="CaptureOption"/> enum.
/// Otherwise, returns <see cref="int.MaxValue"/>
/// Otherwise, returns <see cref="int.MaxValue"/>.
/// </returns>
[RenderDocApiVersion(1, 0)]
public static int GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option);
@ -171,7 +171,7 @@ namespace Ryujinx.Graphics.RenderDocApi
/// <param name="option">specifies which capture option should be retrieved.</param>
/// <returns>
/// the value of the capture option, if the option is a valid <see cref="CaptureOption"/> enum.
/// Otherwise, returns -<see cref="float.MaxValue"/>
/// Otherwise, returns -<see cref="float.MaxValue"/>.
/// </returns>
[RenderDocApiVersion(1, 0)]
public static float GetCaptureOptionF32(CaptureOption option) => Api->GetCaptureOptionF32(option);
@ -184,7 +184,7 @@ namespace Ryujinx.Graphics.RenderDocApi
public static void SetFocusToggleKeys(ReadOnlySpan<InputButton> buttons)
{
if (Api is null) return;
fixed (InputButton* ptr = buttons)
{
Api->SetFocusToggleKeys(ptr, buttons.Length);
@ -199,7 +199,7 @@ namespace Ryujinx.Graphics.RenderDocApi
public static void SetCaptureKeys(ReadOnlySpan<InputButton> buttons)
{
if (Api is null) return;
fixed (InputButton* ptr = buttons)
{
Api->SetCaptureKeys(ptr, buttons.Length);
@ -215,7 +215,7 @@ namespace Ryujinx.Graphics.RenderDocApi
public static void RemoveHooks()
{
if (Api is null) return;
Api->RemoveHooks();
}
@ -228,7 +228,7 @@ namespace Ryujinx.Graphics.RenderDocApi
public static void UnloadCrashHandler()
{
if (Api is null) return;
Api->UnloadCrashHandler();
}
@ -240,7 +240,7 @@ namespace Ryujinx.Graphics.RenderDocApi
public static void TriggerCapture()
{
if (Api is null) return;
Api->TriggerCapture();
}