diff --git a/src/Ryujinx.Graphics.RenderDocApi/RenderDoc.cs b/src/Ryujinx.Graphics.RenderDocApi/RenderDoc.cs index 4f337528d..061d81ccb 100644 --- a/src/Ryujinx.Graphics.RenderDocApi/RenderDoc.cs +++ b/src/Ryujinx.Graphics.RenderDocApi/RenderDoc.cs @@ -111,7 +111,7 @@ namespace Ryujinx.Graphics.RenderDocApi /// false, if the option is not a , or the value is not valid for the option. /// [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 /// specifies which capture option should be retrieved. /// the value of the capture option, if the option is a valid enum. Otherwise, . [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 . /// [RenderDocApiVersion(1, 0)] - public static int GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option); + public static uint GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option); /// /// Gets the current value of one of the different options in .