mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 03:25:13 +00:00
322f28668d
* Start refactoring IPC objects (started with IFile and IFileSystem) * End refactoring IPC objects (#8) * End refactoring IPC objects * End refactoring IPC objects corrections
37 lines
No EOL
857 B
C#
37 lines
No EOL
857 B
C#
using Ryujinx.OsHle.Objects.Time;
|
|
|
|
using static Ryujinx.OsHle.Objects.ObjHelper;
|
|
|
|
namespace Ryujinx.OsHle.Services
|
|
{
|
|
static partial class Service
|
|
{
|
|
public static long TimeGetStandardUserSystemClock(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new ISystemClock());
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long TimeGetStandardNetworkSystemClock(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new ISystemClock());
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long TimeGetStandardSteadyClock(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new ISteadyClock());
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long TimeGetTimeZoneService(ServiceCtx Context)
|
|
{
|
|
MakeObject(Context, new ITimeZoneService());
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |