ryujinx/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs
Thog 486f3163f3
Fix hbl 2.3.1 and hbmenu 3.3.0 (#1171)
* Fix hbl 2.3.1 and hbmenu 3.3.0

* log class: Add ServicePtm

* fix build issue

* do not cast titleId to byte

* Address Ac_K's comment
2020-04-28 11:44:29 +10:00

30 lines
1,005 B
C#

namespace Ryujinx.HLE.HOS.Services.Ns
{
[Service("ns:am2")]
[Service("ns:ec")]
[Service("ns:rid")]
[Service("ns:rt")]
[Service("ns:web")]
class IServiceGetterInterface : IpcService
{
public IServiceGetterInterface(ServiceCtx context) { }
[Command(7996)]
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
{
MakeObject(context, new IApplicationManagerInterface(context));
return ResultCode.Success;
}
[Command(7989)]
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
{
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
return ResultCode.Success;
}
}
}