Signatures

This commit is contained in:
Isaac Marovitz 2023-10-21 10:59:22 -04:00
parent 4e790c4a6e
commit 83f02f48f3
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
6 changed files with 14 additions and 17 deletions

View file

@ -1,6 +1,5 @@
using Ryujinx.Horizon.Am.Ipc.Controllers;
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am;
using Ryujinx.Horizon.Sdk.Am.Controllers;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using Ryujinx.Horizon.Sdk.Sf;

View file

@ -1,6 +1,5 @@
using Ryujinx.Horizon.Am.Ipc.Controllers;
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am;
using Ryujinx.Horizon.Sdk.Am.Controllers;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using Ryujinx.Horizon.Sdk.Sf;

View file

@ -1,6 +1,5 @@
using Ryujinx.Horizon.Am.Ipc.Controllers;
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am;
using Ryujinx.Horizon.Sdk.Am.Controllers;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using Ryujinx.Horizon.Sdk.Sf;

View file

@ -1,6 +1,5 @@
using Ryujinx.Horizon.Am.Ipc.Controllers;
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am;
using Ryujinx.Horizon.Sdk.Am.Controllers;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using Ryujinx.Horizon.Sdk.Sf;

View file

@ -1,18 +1,18 @@
using LibHac.Diag;
using Ryujinx.Common.Logging;
using Ryujinx.Horizon.Am.Ipc.Proxies;
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am;
using Ryujinx.Horizon.Sdk.Am.Controllers;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using Ryujinx.Horizon.Sdk.Sf;
using Ryujinx.Horizon.Sdk.Sf.Hipc;
using System;
namespace Ryujinx.Horizon.Am.Ipc
{
partial class ProxiesService : IAllSystemAppletProxiesService
{
[CmifCommand(100)]
public Result OpenSystemAppletProxy(out ISystemAppletProxy systemAppletProxy, [ClientProcessId] ulong pid)
public Result OpenSystemAppletProxy(out ISystemAppletProxy systemAppletProxy, ulong unknown1, [CopyHandle] int unknown2, [ClientProcessId] ulong pid)
{
systemAppletProxy = new SystemAppletProxy();
@ -20,15 +20,15 @@ namespace Ryujinx.Horizon.Am.Ipc
}
[CmifCommand(200)]
public Result OpenLibraryAppletProxyOld(out ILibraryAppletProxy libraryAppletProxy, [ClientProcessId] ulong pid)
public Result OpenLibraryAppletProxyOld(out ILibraryAppletProxy libraryAppletProxy, ulong unknown1, [CopyHandle] int unknown2, [ClientProcessId] ulong pid)
{
OpenLibraryAppletProxy(out libraryAppletProxy, pid);
OpenLibraryAppletProxy(out libraryAppletProxy, unknown1, unknown2, new byte[0x80], pid);
return Result.Success;
}
[CmifCommand(201)]
public Result OpenLibraryAppletProxy(out ILibraryAppletProxy libraryAppletProxy, [ClientProcessId] ulong pid)
public Result OpenLibraryAppletProxy(out ILibraryAppletProxy libraryAppletProxy, ulong unknown1, [CopyHandle] int unknown2, [Buffer(HipcBufferFlags.In | HipcBufferFlags.MapAlias, 0x80)] ReadOnlySpan<byte> appletAttribute, [ClientProcessId] ulong pid)
{
libraryAppletProxy = new LibraryAppletProxy();
@ -36,7 +36,7 @@ namespace Ryujinx.Horizon.Am.Ipc
}
[CmifCommand(300)]
public Result OpenOverlayAppletProxy(out IOverlayAppletProxy overlayAppletProxy, [ClientProcessId] ulong pid)
public Result OpenOverlayAppletProxy(out IOverlayAppletProxy overlayAppletProxy, ulong unknown1, [CopyHandle] int unknown2, [ClientProcessId] ulong pid)
{
overlayAppletProxy = new OverlayAppletProxy();
@ -44,7 +44,7 @@ namespace Ryujinx.Horizon.Am.Ipc
}
[CmifCommand(350)]
public Result OpenSystemApplicationProxy(out IApplicationProxy applicationProxy, [ClientProcessId] ulong pid)
public Result OpenSystemApplicationProxy(out IApplicationProxy applicationProxy, ulong unknown1, [CopyHandle] int unknown2, [ClientProcessId] ulong pid)
{
applicationProxy = new ApplicationProxy();

View file

@ -1,15 +1,16 @@
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Am.Proxies;
using System;
namespace Ryujinx.Horizon.Sdk.Am.Controllers
{
public interface IAllSystemAppletProxiesService
{
Result OpenSystemAppletProxy(out ISystemAppletProxy systemAppletProxy, ulong pid);
Result OpenLibraryAppletProxyOld(out ILibraryAppletProxy libraryAppletProxy, ulong pid);
Result OpenLibraryAppletProxy(out ILibraryAppletProxy libraryAppletProxy, ulong pid);
Result OpenOverlayAppletProxy(out IOverlayAppletProxy overlayAppletProxy, ulong pid);
Result OpenSystemApplicationProxy(out IApplicationProxy applicationProxy, ulong pid);
Result OpenSystemAppletProxy(out ISystemAppletProxy systemAppletProxy, ulong unknown1, int unknown2, ulong pid);
Result OpenLibraryAppletProxyOld(out ILibraryAppletProxy libraryAppletProxy, ulong unknown1, int unknown2, ulong pid);
Result OpenLibraryAppletProxy(out ILibraryAppletProxy libraryAppletProxy, ulong unknown1, int unknown2, ReadOnlySpan<byte> appletAttribute, ulong pid);
Result OpenOverlayAppletProxy(out IOverlayAppletProxy overlayAppletProxy, ulong unknown1, int unknown2, ulong pid);
Result OpenSystemApplicationProxy(out IApplicationProxy applicationProxy, ulong unknown1, int unknown2, ulong pid);
Result CreateSelfLibraryAppletCreatorForDevelop();
Result GetSystemAppletControllerForDebug();
Result GetDebugFunctions();