mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-21 18:13:14 +02:00

* 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;
|
|
}
|
|
}
|
|
} |