summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-05 04:18:54 +0100
committerbunnei <bunneidev@gmail.com>2020-01-05 04:18:54 +0100
commitbe5c149d374a7caaead4b7d1bfbd7ae4670fc229 (patch)
tree2db19a342008c36df6199c1c9e9131ac09abeafb /src/core/hle/service/time/time.cpp
parenttime: Remove overflow error checking (currently breaks ADO builds). (diff)
downloadyuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar.gz
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar.bz2
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar.lz
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar.xz
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.tar.zst
yuzu-be5c149d374a7caaead4b7d1bfbd7ae4670fc229.zip
Diffstat (limited to 'src/core/hle/service/time/time.cpp')
-rw-r--r--src/core/hle/service/time/time.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp
index 6b1357813..8ef4efcef 100644
--- a/src/core/hle/service/time/time.cpp
+++ b/src/core/hle/service/time/time.cpp
@@ -199,6 +199,13 @@ void Module::Interface::GetTimeZoneService(Kernel::HLERequestContext& ctx) {
rb.PushIpcInterface<ITimeZoneService>(module->GetTimeManager().GetTimeZoneContentManager());
}
+void Module::Interface::GetStandardLocalSystemClock(Kernel::HLERequestContext& ctx) {
+ LOG_DEBUG(Service_Time, "called");
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(RESULT_SUCCESS);
+ rb.PushIpcInterface<ISystemClock>(module->GetTimeManager().GetStandardLocalSystemClockCore());
+}
+
void Module::Interface::IsStandardNetworkSystemClockAccuracySufficient(
Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_Time, "called");