summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar shinyquagsire232018-02-23 00:34:15 -0700
committerGravatar shinyquagsire232018-02-23 00:34:15 -0700
commita63d4fa5b41048104e5280b86cf9a4d0b86f0f1f (patch)
tree8ffd2b82dbf8f6dd7760015a391b904820375733
parentMerge pull request #211 from shinyquagsire23/time_local (diff)
downloadyuzu-a63d4fa5b41048104e5280b86cf9a4d0b86f0f1f.tar.gz
yuzu-a63d4fa5b41048104e5280b86cf9a4d0b86f0f1f.tar.xz
yuzu-a63d4fa5b41048104e5280b86cf9a4d0b86f0f1f.zip
time: Add missing time:s functions, used for libnx
-rw-r--r--src/core/hle/service/time/time_s.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time_s.cpp b/src/core/hle/service/time/time_s.cpp
index 1634d3300..b172b2bd6 100644
--- a/src/core/hle/service/time/time_s.cpp
+++ b/src/core/hle/service/time/time_s.cpp
@@ -10,6 +10,10 @@ namespace Time {
10TIME_S::TIME_S(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:s") { 10TIME_S::TIME_S(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:s") {
11 static const FunctionInfo functions[] = { 11 static const FunctionInfo functions[] = {
12 {0, &TIME_S::GetStandardUserSystemClock, "GetStandardUserSystemClock"}, 12 {0, &TIME_S::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
13 {1, &TIME_S::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
14 {2, &TIME_S::GetStandardSteadyClock, "GetStandardSteadyClock"},
15 {3, &TIME_S::GetTimeZoneService, "GetTimeZoneService"},
16 {4, &TIME_S::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
13 }; 17 };
14 RegisterHandlers(functions); 18 RegisterHandlers(functions);
15} 19}