mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 20:26:41 +00:00
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
21 lines
No EOL
589 B
C#
21 lines
No EOL
589 B
C#
using Ryujinx.HLE.HOS.Services.Vi.RootService;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Vi
|
|
{
|
|
[Service("vi:m")]
|
|
class IManagerRootService : IpcService
|
|
{
|
|
public IManagerRootService(ServiceCtx context) { }
|
|
|
|
[Command(2)]
|
|
// GetDisplayService(u32) -> object<nn::visrv::sf::IApplicationDisplayService>
|
|
public ResultCode GetDisplayService(ServiceCtx context)
|
|
{
|
|
int serviceType = context.RequestData.ReadInt32();
|
|
|
|
MakeObject(context, new IApplicationDisplayService());
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |