mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-09 20:29:11 +00:00
Correct signatures
This commit is contained in:
parent
b960597eeb
commit
4e790c4a6e
2 changed files with 9 additions and 6 deletions
|
@ -2,13 +2,15 @@ using Ryujinx.Common.Logging;
|
|||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Am.Controllers;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
using Ryujinx.Horizon.Sdk.Sf.Hipc;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
||||
{
|
||||
partial class DisplayController : IDisplayController
|
||||
{
|
||||
[CmifCommand(0)]
|
||||
public Result GetLastForegroundCaptureImage()
|
||||
public Result GetLastForegroundCaptureImage([Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Span<byte> capture)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
@ -16,7 +18,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
|||
}
|
||||
|
||||
[CmifCommand(1)]
|
||||
public Result UpdateLastForegroundCaptureImage()
|
||||
public Result UpdateLastForegroundCaptureImage([Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Span<byte> capture)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
@ -24,7 +26,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
|||
}
|
||||
|
||||
[CmifCommand(2)]
|
||||
public Result GetLastApplicationCaptureImage()
|
||||
public Result GetLastApplicationCaptureImage([Buffer(HipcBufferFlags.Out | HipcBufferFlags.MapAlias)] Span<byte> capture)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
||||
{
|
||||
public interface IDisplayController
|
||||
{
|
||||
Result GetLastForegroundCaptureImage();
|
||||
Result UpdateLastForegroundCaptureImage();
|
||||
Result GetLastApplicationCaptureImage();
|
||||
Result GetLastForegroundCaptureImage(Span<byte> capture);
|
||||
Result UpdateLastForegroundCaptureImage(Span<byte> capture);
|
||||
Result GetLastApplicationCaptureImage(Span<byte> capture);
|
||||
Result GetCallerAppletCaptureImage();
|
||||
Result UpdateCallerAppletCaptureImage();
|
||||
Result GetLastForegroundCaptureImageEx();
|
||||
|
|
Loading…
Reference in a new issue