From 405e96be8e7a35747e8a740f0db681da3fc4c0db Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 12 May 2026 09:00:31 -0400 Subject: [PATCH] Update CaptureManager.cs --- src/Ryujinx.HLE/HOS/Services/Caps/CaptureManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.HLE/HOS/Services/Caps/CaptureManager.cs b/src/Ryujinx.HLE/HOS/Services/Caps/CaptureManager.cs index 651f92986..467dc63fe 100644 --- a/src/Ryujinx.HLE/HOS/Services/Caps/CaptureManager.cs +++ b/src/Ryujinx.HLE/HOS/Services/Caps/CaptureManager.cs @@ -133,9 +133,9 @@ namespace Ryujinx.HLE.HOS.Services.Caps using SKBitmap bitmap = new(new SKImageInfo(ScreenshotWidth, ScreenshotHeight, SKColorType.Rgba8888)); - IntPtr pixels = bitmap.GetPixels(); + nint pixels = bitmap.GetPixels(); - if (pixels == IntPtr.Zero) + if (pixels == 0) { return ResultCode.InvalidArgument; }