summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/interface.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-24 08:45:23 +0200
committerLioncash <mathew1800@gmail.com>2018-07-24 12:21:27 +0200
commita61124a9e7f2a6eab7f51c2b4dd30574e62ba25a (patch)
tree776adee8f3ac1c8f29c7c210c086b8862a98677a /src/core/hle/service/time/interface.cpp
parentMerge pull request #790 from bunnei/shader-print-instr (diff)
downloadyuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar.gz
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar.bz2
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar.lz
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar.xz
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.tar.zst
yuzu-a61124a9e7f2a6eab7f51c2b4dd30574e62ba25a.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/time/interface.cpp (renamed from src/core/hle/service/time/time_s.cpp)15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/hle/service/time/time_s.cpp b/src/core/hle/service/time/interface.cpp
index 0b599ea00..e61788db8 100644
--- a/src/core/hle/service/time/time_s.cpp
+++ b/src/core/hle/service/time/interface.cpp
@@ -2,17 +2,18 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include "core/hle/service/time/time_s.h"
+#include "core/hle/service/time/interface.h"
namespace Service::Time {
-TIME_S::TIME_S(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:s") {
+TIME::TIME(std::shared_ptr<Module> time, const char* name)
+ : Module::Interface(std::move(time), name) {
static const FunctionInfo functions[] = {
- {0, &TIME_S::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
- {1, &TIME_S::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
- {2, &TIME_S::GetStandardSteadyClock, "GetStandardSteadyClock"},
- {3, &TIME_S::GetTimeZoneService, "GetTimeZoneService"},
- {4, &TIME_S::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
+ {0, &TIME::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
+ {1, &TIME::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
+ {2, &TIME::GetStandardSteadyClock, "GetStandardSteadyClock"},
+ {3, &TIME::GetTimeZoneService, "GetTimeZoneService"},
+ {4, &TIME::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
{5, nullptr, "GetEphemeralNetworkSystemClock"},
{50, nullptr, "SetStandardSteadyClockInternalOffset"},
{100, nullptr, "IsStandardUserSystemClockAutomaticCorrectionEnabled"},