ServiceTime.cs 857 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using Ryujinx.OsHle.Objects.Time;
  2. using static Ryujinx.OsHle.Objects.ObjHelper;
  3. namespace Ryujinx.OsHle.Services
  4. {
  5. static partial class Service
  6. {
  7. public static long TimeGetStandardUserSystemClock(ServiceCtx Context)
  8. {
  9. MakeObject(Context, new ISystemClock());
  10. return 0;
  11. }
  12. public static long TimeGetStandardNetworkSystemClock(ServiceCtx Context)
  13. {
  14. MakeObject(Context, new ISystemClock());
  15. return 0;
  16. }
  17. public static long TimeGetStandardSteadyClock(ServiceCtx Context)
  18. {
  19. MakeObject(Context, new ISteadyClock());
  20. return 0;
  21. }
  22. public static long TimeGetTimeZoneService(ServiceCtx Context)
  23. {
  24. MakeObject(Context, new ITimeZoneService());
  25. return 0;
  26. }
  27. }
  28. }