mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-22 21:02:03 +00:00
a79b39b913
* no name: Mii Editor applet support * addresses gdkchan feedback * Fix comment * Bypass MountCounter of MiiDatabaseManager * Fix GetSettingsPlatformRegion * Disable Applet Menu for unsupported firmwares
29 lines
No EOL
1 KiB
C#
29 lines
No EOL
1 KiB
C#
using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
|
|
{
|
|
[Service("appletAE")]
|
|
class IAllSystemAppletProxiesService : IpcService
|
|
{
|
|
public IAllSystemAppletProxiesService(ServiceCtx context) { }
|
|
|
|
[CommandHipc(100)]
|
|
// OpenSystemAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ISystemAppletProxy>
|
|
public ResultCode OpenSystemAppletProxy(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new ISystemAppletProxy(context.Request.HandleDesc.PId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandHipc(200)]
|
|
[CommandHipc(201)] // 3.0.0+
|
|
// OpenLibraryAppletProxy(u64, pid, handle<copy>) -> object<nn::am::service::ILibraryAppletProxy>
|
|
public ResultCode OpenLibraryAppletProxy(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new ILibraryAppletProxy(context.Request.HandleDesc.PId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |