mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
services: add "apm:p" (#1854)
* services: add "apm:p" * review: change amp:p version range * review: remove uneeded calls * review: fix ImanagerPrivileged
This commit is contained in:
parent
b9fd7c8b23
commit
3e7383b3fd
19
Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs
Normal file
19
Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
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) { }
|
||||
|
||||
[Command(0)]
|
||||
// OpenSession() -> object<nn::apm::ISession>
|
||||
public ResultCode OpenSession(ServiceCtx context)
|
||||
{
|
||||
MakeObject(context, new SessionServer(context));
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue