Update CaptureManager.cs

This commit is contained in:
Max 2026-05-12 09:00:31 -04:00 committed by sh0inx
parent 3e16c6d683
commit 405e96be8e

View file

@ -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;
}