1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-01-16 04:40:05 -06:00
ryujinx/Ryujinx.Core/OsHle/Services/ServiceTime.cs

45 lines
1.1 KiB
C#
Raw Normal View History

using Ryujinx.Core.OsHle.Objects.Time;
2018-02-04 17:08:20 -06:00
using static Ryujinx.Core.OsHle.Objects.ObjHelper;
2018-02-04 17:08:20 -06:00
namespace Ryujinx.Core.OsHle.Services
2018-02-04 17:08:20 -06:00
{
static partial class Service
{
public static long TimeGetStandardUserSystemClock(ServiceCtx Context)
{
MakeObject(Context, new ISystemClock(SystemClockType.User));
2018-02-04 17:08:20 -06:00
return 0;
}
public static long TimeGetStandardNetworkSystemClock(ServiceCtx Context)
{
2018-02-13 23:43:21 -06:00
MakeObject(Context, new ISystemClock(SystemClockType.Network));
2018-02-04 17:08:20 -06:00
return 0;
}
public static long TimeGetStandardSteadyClock(ServiceCtx Context)
{
MakeObject(Context, new ISteadyClock());
2018-02-04 17:08:20 -06:00
return 0;
}
public static long TimeGetTimeZoneService(ServiceCtx Context)
{
MakeObject(Context, new ITimeZoneService());
2018-02-04 17:08:20 -06:00
return 0;
}
2018-02-13 23:43:21 -06:00
public static long TimeGetStandardLocalSystemClock(ServiceCtx Context)
{
MakeObject(Context, new ISystemClock(SystemClockType.Local));
return 0;
}
2018-02-04 17:08:20 -06:00
}
}