diff options
author | bunnei <bunneidev@gmail.com> | 2020-01-05 04:18:54 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-01-05 04:18:54 +0100 |
commit | be5c149d374a7caaead4b7d1bfbd7ae4670fc229 (patch) | |
tree | 2db19a342008c36df6199c1c9e9131ac09abeafb /src/core/hle/service/time/time.cpp | |
parent | time: Remove overflow error checking (currently breaks ADO builds). (diff) | |
download | yuzu-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.cpp | 7 |
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"); |