2022-03-15 03:07:07 +00:00
|
|
|
|
using Ryujinx.Common.Logging;
|
|
|
|
|
using Ryujinx.HLE.HOS.Services.Nim.Ntc.StaticService;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nim.Ntc
|
2019-09-19 01:45:11 +01:00
|
|
|
|
{
|
|
|
|
|
[Service("ntc")]
|
|
|
|
|
class IStaticService : IpcService
|
|
|
|
|
{
|
|
|
|
|
public IStaticService(ServiceCtx context) { }
|
2022-03-15 03:07:07 +00:00
|
|
|
|
|
2023-04-15 00:00:34 +01:00
|
|
|
|
[CommandCmif(0)]
|
2022-03-15 03:07:07 +00:00
|
|
|
|
// OpenEnsureNetworkClockAvailabilityService(u64) -> object<nn::ntc::detail::service::IEnsureNetworkClockAvailabilityService>
|
|
|
|
|
public ResultCode CreateAsyncInterface(ServiceCtx context)
|
|
|
|
|
{
|
|
|
|
|
ulong unknown = context.RequestData.ReadUInt64();
|
|
|
|
|
|
|
|
|
|
MakeObject(context, new IEnsureNetworkClockAvailabilityService(context));
|
|
|
|
|
|
|
|
|
|
Logger.Stub?.PrintStub(LogClass.ServiceNtc, new { unknown });
|
|
|
|
|
|
|
|
|
|
return ResultCode.Success;
|
|
|
|
|
}
|
2019-09-19 01:45:11 +01:00
|
|
|
|
}
|
|
|
|
|
}
|