summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-07 16:51:35 +0100
committerGitHub <noreply@github.com>2018-02-07 16:51:35 +0100
commit869d65e923ced3c71c771c2da97a07ba78ff7d9d (patch)
tree9bb1128673a0e925389bc84f39a6a934c3e1b5dd /src/core/hle/service/time/time.cpp
parentMerge pull request #166 from mailwl/hid-SetNpadHandhelpActivationMode (diff)
parentService: stub some functions in am, audio, time, vi services (diff)
downloadyuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar.gz
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar.bz2
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar.lz
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar.xz
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.tar.zst
yuzu-869d65e923ced3c71c771c2da97a07ba78ff7d9d.zip
Diffstat (limited to 'src/core/hle/service/time/time.cpp')
-rw-r--r--src/core/hle/service/time/time.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp
index 532b9c1c5..364ddcea2 100644
--- a/src/core/hle/service/time/time.cpp
+++ b/src/core/hle/service/time/time.cpp
@@ -68,8 +68,15 @@ public:
ITimeZoneService() : ServiceFramework("ITimeZoneService") {
static const FunctionInfo functions[] = {
{0, &ITimeZoneService::GetDeviceLocationName, "GetDeviceLocationName"},
+ {1, nullptr, "SetDeviceLocationName"},
{2, &ITimeZoneService::GetTotalLocationNameCount, "GetTotalLocationNameCount"},
+ {3, nullptr, "LoadLocationNameList"},
+ {4, &ITimeZoneService::LoadTimeZoneRule, "LoadTimeZoneRule"},
+ {5, nullptr, "GetTimeZoneRuleVersion"},
+ {100, nullptr, "ToCalendarTime"},
{101, &ITimeZoneService::ToCalendarTimeWithMyRule, "ToCalendarTimeWithMyRule"},
+ {200, nullptr, "ToPosixTime"},
+ {201, nullptr, "ToPosixTimeWithMyRule"},
};
RegisterHandlers(functions);
}
@@ -90,6 +97,12 @@ private:
rb.Push<u32>(0);
}
+ void LoadTimeZoneRule(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_Time, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ }
+
void ToCalendarTimeWithMyRule(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
u64 posix_time = rp.Pop<u64>();