From 76f3b1b3a4637ec72abfbb8cbc0679f2e0ca838f Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 10 Jun 2018 21:46:42 -0300 Subject: Rename Ryujinx.Core to Ryujinx.HLE and add a separate project for a future LLE implementation --- Ryujinx.Core/OsHle/Services/Time/IStaticService.cs | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 Ryujinx.Core/OsHle/Services/Time/IStaticService.cs (limited to 'Ryujinx.Core/OsHle/Services/Time/IStaticService.cs') diff --git a/Ryujinx.Core/OsHle/Services/Time/IStaticService.cs b/Ryujinx.Core/OsHle/Services/Time/IStaticService.cs deleted file mode 100644 index 94d9ae74..00000000 --- a/Ryujinx.Core/OsHle/Services/Time/IStaticService.cs +++ /dev/null @@ -1,60 +0,0 @@ -using Ryujinx.Core.OsHle.Ipc; -using System.Collections.Generic; - -namespace Ryujinx.Core.OsHle.Services.Time -{ - class IStaticService : IpcService - { - private Dictionary m_Commands; - - public override IReadOnlyDictionary Commands => m_Commands; - - public IStaticService() - { - m_Commands = new Dictionary() - { - { 0, GetStandardUserSystemClock }, - { 1, GetStandardNetworkSystemClock }, - { 2, GetStandardSteadyClock }, - { 3, GetTimeZoneService }, - { 4, GetStandardLocalSystemClock } - }; - } - - public long GetStandardUserSystemClock(ServiceCtx Context) - { - MakeObject(Context, new ISystemClock(SystemClockType.User)); - - return 0; - } - - public long GetStandardNetworkSystemClock(ServiceCtx Context) - { - MakeObject(Context, new ISystemClock(SystemClockType.Network)); - - return 0; - } - - public long GetStandardSteadyClock(ServiceCtx Context) - { - MakeObject(Context, new ISteadyClock()); - - return 0; - } - - public long GetTimeZoneService(ServiceCtx Context) - { - MakeObject(Context, new ITimeZoneService()); - - return 0; - } - - public long GetStandardLocalSystemClock(ServiceCtx Context) - { - MakeObject(Context, new ISystemClock(SystemClockType.Local)); - - return 0; - } - - } -} \ No newline at end of file -- cgit v1.2.3