mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-23 21:12:08 +00:00
Update CaptureManager.cs
This commit is contained in:
parent
3e16c6d683
commit
405e96be8e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue