1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02: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:
Bruno Macabeus 2021-01-02 07:11:38 -08:00 committed by GitHub
parent b9fd7c8b23
commit 3e7383b3fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
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;
}
}
}