mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-10 04:39:11 +00:00
Signatures…
This commit is contained in:
parent
012b85a481
commit
5f3ed6dfc0
10 changed files with 169 additions and 18 deletions
|
@ -0,0 +1,60 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Am;
|
||||
using Ryujinx.Horizon.Sdk.Am.Controllers;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
||||
{
|
||||
partial class CradleFirmwareUpdater : ICradleFirmwareUpdater
|
||||
{
|
||||
[CmifCommand(0)]
|
||||
public Result StartUpdate()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(1)]
|
||||
public Result FinishUpdate()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(2)]
|
||||
public Result GetCradleDeviceInfo(out CradleDeviceInfo arg0)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(3)]
|
||||
public Result GetCradleDeviceInfoChangeEvent(out int arg0)
|
||||
{
|
||||
arg0 = 0;
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result GetUpdateProgressInfo(out UpdateProgressInfo arg0)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(5)]
|
||||
public Result GetLastInternalResult()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -48,15 +48,16 @@ namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
|||
}
|
||||
|
||||
[CmifCommand(9)]
|
||||
public Result GetLibraryAppletLaunchableEvent()
|
||||
public Result GetLibraryAppletLaunchableEvent(out int arg0)
|
||||
{
|
||||
arg0 = 0;
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(10)]
|
||||
public Result SetScreenShotPermission()
|
||||
public Result SetScreenShotPermission(int arg0)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
@ -64,7 +65,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
|||
}
|
||||
|
||||
[CmifCommand(11)]
|
||||
public Result SetOperationModeChangedNotification()
|
||||
public Result SetOperationModeChangedNotification(bool arg0)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
@ -72,7 +73,7 @@ namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
|||
}
|
||||
|
||||
[CmifCommand(12)]
|
||||
public Result SetPerformanceModeChangedNotification()
|
||||
public Result SetPerformanceModeChangedNotification(bool arg0)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Am.Controllers;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Am.Ipc.Controllers
|
||||
{
|
||||
partial class SystemAppletControllerForDebug : ISystemAppletControllerForDebug
|
||||
{
|
||||
[CmifCommand(1)]
|
||||
public Result RequestLaunchApplicationForDebug()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(2)]
|
||||
public Result GetDebugStorageChannel()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(3)]
|
||||
public Result CreateStorageForDebug()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(4)]
|
||||
public Result CreateCradleFirmwareUpdaterForDebug()
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Horizon.Am.Ipc.Controllers;
|
||||
using Ryujinx.Horizon.Am.Ipc.Proxies;
|
||||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Am.Controllers;
|
||||
|
@ -52,25 +52,25 @@ namespace Ryujinx.Horizon.Am.Ipc
|
|||
}
|
||||
|
||||
[CmifCommand(400)]
|
||||
public Result CreateSelfLibraryAppletCreatorForDevelop()
|
||||
public Result CreateSelfLibraryAppletCreatorForDevelop(out ILibraryAppletCreator libraryAppletCreator, ulong unknown, [ClientProcessId] ulong pid)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
libraryAppletCreator = new LibraryAppletCreator();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(410)]
|
||||
public Result GetSystemAppletControllerForDebug()
|
||||
public Result GetSystemAppletControllerForDebug(out ISystemAppletControllerForDebug systemAppletControllerForDebug)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
systemAppletControllerForDebug = new SystemAppletControllerForDebug();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
||||
[CmifCommand(1000)]
|
||||
public Result GetDebugFunctions()
|
||||
public Result GetDebugFunctions(out IDebugFunctions debugFunctions)
|
||||
{
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceAm);
|
||||
debugFunctions = new DebugFunctions();
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
|||
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();
|
||||
Result CreateSelfLibraryAppletCreatorForDevelop(out ILibraryAppletCreator libraryAppletCreator, ulong unknown, ulong pid);
|
||||
Result GetSystemAppletControllerForDebug(out ISystemAppletControllerForDebug systemAppletControllerForDebug);
|
||||
Result GetDebugFunctions(out IDebugFunctions debugFunctions);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
||||
{
|
||||
interface ICradleFirmwareUpdater : IServiceObject
|
||||
{
|
||||
Result StartUpdate();
|
||||
Result FinishUpdate();
|
||||
Result GetCradleDeviceInfo(out CradleDeviceInfo arg0);
|
||||
Result GetCradleDeviceInfoChangeEvent(out int arg0);
|
||||
Result GetUpdateProgressInfo(out UpdateProgressInfo arg0);
|
||||
Result GetLastInternalResult();
|
||||
}
|
||||
}
|
|
@ -9,10 +9,10 @@ namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
|||
Result UnlockExit();
|
||||
Result EnterFatalSection();
|
||||
Result LeaveFatalSection();
|
||||
Result GetLibraryAppletLaunchableEvent();
|
||||
Result SetScreenShotPermission();
|
||||
Result SetOperationModeChangedNotification();
|
||||
Result SetPerformanceModeChangedNotification();
|
||||
Result GetLibraryAppletLaunchableEvent(out int arg0);
|
||||
Result SetScreenShotPermission(int arg0);
|
||||
Result SetOperationModeChangedNotification(bool arg0);
|
||||
Result SetPerformanceModeChangedNotification(bool arg0);
|
||||
Result SetFocusHandlingMode();
|
||||
Result SetRestartMessageEnabled();
|
||||
Result SetScreenShotAppletIdentityInfo();
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am.Controllers
|
||||
{
|
||||
interface ISystemAppletControllerForDebug : IServiceObject
|
||||
{
|
||||
Result RequestLaunchApplicationForDebug();
|
||||
Result GetDebugStorageChannel();
|
||||
Result CreateStorageForDebug();
|
||||
Result CreateCradleFirmwareUpdaterForDebug();
|
||||
}
|
||||
}
|
10
src/Ryujinx.Horizon/Sdk/Am/CradleDeviceInfo.cs
Normal file
10
src/Ryujinx.Horizon/Sdk/Am/CradleDeviceInfo.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Size = 0x10, Pack = 0x4)]
|
||||
public struct CradleDeviceInfo
|
||||
{
|
||||
|
||||
}
|
||||
}
|
10
src/Ryujinx.Horizon/Sdk/Am/UpdateProgressInfo.cs
Normal file
10
src/Ryujinx.Horizon/Sdk/Am/UpdateProgressInfo.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Size = 0x10, Pack = 0x4)]
|
||||
public struct UpdateProgressInfo
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue