0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Services/Bcat/IServiceCreator.cs

33 lines
991 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Bcat
{
[Service("bcat:a")]
[Service("bcat:m")]
[Service("bcat:u")]
[Service("bcat:s")]
class IServiceCreator : IpcService
{
public IServiceCreator(ServiceCtx context) { }
[Command(0)]
// CreateBcatService(u64, pid) -> object<nn::bcat::detail::ipc::IBcatService>
public ResultCode CreateBcatService(ServiceCtx context)
{
long id = context.RequestData.ReadInt64();
MakeObject(context, new IBcatService());
return ResultCode.Success;
}
[Command(1)]
// CreateDeliveryCacheStorageService(u64, pid) -> object<nn::bcat::detail::ipc::IDeliveryCacheStorageService>
public ResultCode CreateDeliveryCacheStorageService(ServiceCtx context)
{
long id = context.RequestData.ReadInt64();
MakeObject(context, new IDeliveryCacheStorageService());
return ResultCode.Success;
}
}
}