private static int ZcullGetInfo(ServiceCtx context) { long outputPosition = context.Request.GetBufferType0x22().Position; NvGpuGpuZcullGetInfo args = new NvGpuGpuZcullGetInfo(); args.WidthAlignPixels = 0x20; args.HeightAlignPixels = 0x20; args.PixelSquaresByAliquots = 0x400; args.AliquotTotal = 0x800; args.RegionByteMultiplier = 0x20; args.RegionHeaderSize = 0x20; args.SubregionHeaderSize = 0xc0; args.SubregionWidthAlignPixels = 0x20; args.SubregionHeightAlignPixels = 0x40; args.SubregionCount = 0x10; MemoryHelper.Write(context.Memory, outputPosition, args); Logger.PrintStub(LogClass.ServiceNv); return(NvResult.Success); }
private static int ZcullGetInfo(ServiceCtx Context) { long OutputPosition = Context.Request.GetBufferType0x22().Position; NvGpuGpuZcullGetInfo Args = new NvGpuGpuZcullGetInfo(); Args.WidthAlignPixels = 0x20; Args.HeightAlignPixels = 0x20; Args.PixelSquaresByAliquots = 0x400; Args.AliquotTotal = 0x800; Args.RegionByteMultiplier = 0x20; Args.RegionHeaderSize = 0x20; Args.SubregionHeaderSize = 0xc0; Args.SubregionWidthAlignPixels = 0x20; Args.SubregionHeightAlignPixels = 0x40; Args.SubregionCount = 0x10; AMemoryHelper.Write(Context.Memory, OutputPosition, Args); Context.Device.Log.PrintStub(LogClass.ServiceNv, "Stubbed."); return(NvResult.Success); }