0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-25 14:05:44 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs

19 lines
562 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Apm
{
// NOTE: This service doesnt 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) { }
[Command(0)]
// OpenSession() -> object<nn::apm::ISession>
public ResultCode OpenSession(ServiceCtx context)
{
MakeObject(context, new SessionServer(context));
return ResultCode.Success;
}
}
}