diff options
| author | mailwl <mailwl@gmail.com> | 2018-02-07 15:11:17 +0300 |
|---|---|---|
| committer | mailwl <mailwl@gmail.com> | 2018-02-07 15:11:17 +0300 |
| commit | 335096e19a50b38f5ccf81a3d4942a4a0e4dc546 (patch) | |
| tree | 9bb1128673a0e925389bc84f39a6a934c3e1b5dd /src/core/hle/service/time/time.cpp | |
| parent | 2b75b52489a0976db9805d5196900c0bf1804662 (diff) | |
Service: stub some functions in am, audio, time, vi services
Diffstat (limited to 'src/core/hle/service/time/time.cpp')
| -rw-r--r-- | src/core/hle/service/time/time.cpp | 13 |
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>(); |
