forked from Mirror/Ryujinx
a0720b5681
* Refactoring HOS folder structure Refactoring HOS folder structure: - Added some subfolders when needed (Following structure decided in private). - Added some `Types` folders when needed. - Little cleanup here and there. - Add services placeholders for every HOS services (close #766 and #753). * Remove Types namespaces
17 lines
No EOL
408 B
C#
17 lines
No EOL
408 B
C#
namespace Ryujinx.HLE.HOS.Services.Apm
|
|
{
|
|
[Service("apm")] // 8.0.0+
|
|
class IManager : IpcService
|
|
{
|
|
public IManager(ServiceCtx context) { }
|
|
|
|
[Command(0)]
|
|
// OpenSession() -> object<nn::apm::ISession>
|
|
public ResultCode OpenSession(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new ISession());
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |