2018-02-10 00:14:55 +00:00
|
|
|
using Ryujinx.OsHle.Objects.Time;
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
using static Ryujinx.OsHle.Objects.ObjHelper;
|
|
|
|
|
|
|
|
namespace Ryujinx.OsHle.Services
|
|
|
|
{
|
|
|
|
static partial class Service
|
|
|
|
{
|
|
|
|
public static long TimeGetStandardUserSystemClock(ServiceCtx Context)
|
|
|
|
{
|
2018-02-10 00:14:55 +00:00
|
|
|
MakeObject(Context, new ISystemClock());
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static long TimeGetStandardNetworkSystemClock(ServiceCtx Context)
|
|
|
|
{
|
2018-02-10 00:14:55 +00:00
|
|
|
MakeObject(Context, new ISystemClock());
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static long TimeGetStandardSteadyClock(ServiceCtx Context)
|
|
|
|
{
|
2018-02-10 00:14:55 +00:00
|
|
|
MakeObject(Context, new ISteadyClock());
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static long TimeGetTimeZoneService(ServiceCtx Context)
|
|
|
|
{
|
2018-02-10 00:14:55 +00:00
|
|
|
MakeObject(Context, new ITimeZoneService());
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|