make unsigned integers actually unsigned

This commit is contained in:
GreemDev 2025-12-28 02:56:40 -06:00
parent f234825588
commit b63a4edb3f

View file

@ -111,7 +111,7 @@ namespace Ryujinx.Graphics.RenderDocApi
/// false, if the option is not a <see cref="CaptureOption"/>, or the value is not valid for the option.
/// </returns>
[RenderDocApiVersion(1, 0)]
public static bool SetCaptureOption(CaptureOption option, int integer)
public static bool SetCaptureOption(CaptureOption option, uint integer)
{
return Api is not null && Api->SetCaptureOptionU32(option, integer) != 0;
}
@ -138,7 +138,7 @@ namespace Ryujinx.Graphics.RenderDocApi
/// <param name="option">specifies which capture option should be retrieved.</param>
/// <param name="integer">the value of the capture option, if the option is a valid <see cref="CaptureOption"/> enum. Otherwise, <see cref="int.MaxValue"/>.</param>
[RenderDocApiVersion(1, 0)]
public static void GetCaptureOption(CaptureOption option, out int integer)
public static void GetCaptureOption(CaptureOption option, out uint integer)
{
integer = Api->GetCaptureOptionU32(option);
}
@ -163,7 +163,7 @@ namespace Ryujinx.Graphics.RenderDocApi
/// Otherwise, returns <see cref="int.MaxValue"/>.
/// </returns>
[RenderDocApiVersion(1, 0)]
public static int GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option);
public static uint GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option);
/// <summary>
/// Gets the current value of one of the different options in <see cref="CaptureOption"/>.