mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-11 10:39:58 +01:00
3e7383b3fd
* services: add "apm:p" * review: change amp:p version range * review: remove uneeded calls * review: fix ImanagerPrivileged
19 lines
No EOL
562 B
C#
19 lines
No EOL
562 B
C#
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;
|
||
}
|
||
}
|
||
} |