From 944132dbe5beb5db171cadec9d21537a59f58df9 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Wed, 21 Feb 2018 18:43:05 -0700 Subject: time: Add GetStandardLocalSystemClock, used by libnx --- src/core/hle/service/time/time.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/hle/service/time/time.cpp') diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp index 364ddcea2..ad49f4265 100644 --- a/src/core/hle/service/time/time.cpp +++ b/src/core/hle/service/time/time.cpp @@ -146,6 +146,13 @@ void Module::Interface::GetTimeZoneService(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_Time, "called"); } +void Module::Interface::GetStandardLocalSystemClock(Kernel::HLERequestContext& ctx) { + IPC::ResponseBuilder rb{ctx, 2, 0, 1}; + rb.Push(RESULT_SUCCESS); + rb.PushIpcInterface(); + LOG_DEBUG(Service_Time, "called"); +} + Module::Interface::Interface(std::shared_ptr time, const char* name) : ServiceFramework(name), time(std::move(time)) {} -- cgit v1.2.3