CSPspEmu.Core.Display.PspDisplay.TakeScreenshot C# (CSharp) Метод

TakeScreenshot() публичный Метод

public TakeScreenshot ( ) : Bitmap
Результат Bitmap
        public unsafe Bitmap TakeScreenshot()
        {
            return new PspBitmap(
                CurrentInfo.PixelFormat,
                CurrentInfo.BufferWidth,
                CurrentInfo.Height,
                (byte*)Memory.PspAddressToPointerSafe(
                    CurrentInfo.FrameAddress,
                    PixelFormatDecoder.GetPixelsSize(CurrentInfo.PixelFormat, CurrentInfo.BufferWidth * CurrentInfo.Height)
                )
            ).ToBitmap();
        }