2021-01-02 16:11:38 +01:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Apm
|
|
|
|
|
{
|
|
|
|
|
// NOTE: This service doesn’t exist anymore after firmware 7.0.1. But some outdated homebrew still uses it.
|
|
|
|
|
|
|
|
|
|
[Service("apm:p")] // 1.0.0-7.0.1
|
|
|
|
|
class IManagerPrivileged : IpcService
|
|
|
|
|
{
|
|
|
|
|
public IManagerPrivileged(ServiceCtx context) { }
|
|
|
|
|
|
2021-04-14 00:01:24 +02:00
|
|
|
|
[CommandHipc(0)]
|
2021-01-02 16:11:38 +01:00
|
|
|
|
// OpenSession() -> object<nn::apm::ISession>
|
|
|
|
|
public ResultCode OpenSession(ServiceCtx context)
|
|
|
|
|
{
|
|
|
|
|
MakeObject(context, new SessionServer(context));
|
|
|
|
|
|
|
|
|
|
return ResultCode.Success;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|