diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-06-25 16:45:53 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-06-25 16:45:53 +0200 |
commit | 19dc36ce066aac58e0ba2aeb315bb709b84a137e (patch) | |
tree | c62fe49970c42dfe6d5841f9f6fd051451ab69de /src/core/hle/service/time/interface.cpp | |
parent | Merge pull request #2603 from WamWooWam/master (diff) | |
download | yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar.gz yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar.bz2 yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar.lz yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar.xz yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.tar.zst yuzu-19dc36ce066aac58e0ba2aeb315bb709b84a137e.zip |
Diffstat (limited to 'src/core/hle/service/time/interface.cpp')
-rw-r--r-- | src/core/hle/service/time/interface.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/time/interface.cpp b/src/core/hle/service/time/interface.cpp index 8d122ae33..1030185e0 100644 --- a/src/core/hle/service/time/interface.cpp +++ b/src/core/hle/service/time/interface.cpp @@ -6,8 +6,9 @@ namespace Service::Time { -Time::Time(std::shared_ptr<Module> time, const char* name) - : Module::Interface(std::move(time), name) { +Time::Time(std::shared_ptr<Module> time, std::shared_ptr<SharedMemory> shared_memory, + const char* name) + : Module::Interface(std::move(time), std::move(shared_memory), name) { // clang-format off static const FunctionInfo functions[] = { {0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"}, @@ -16,12 +17,12 @@ Time::Time(std::shared_ptr<Module> time, const char* name) {3, &Time::GetTimeZoneService, "GetTimeZoneService"}, {4, &Time::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"}, {5, nullptr, "GetEphemeralNetworkSystemClock"}, - {20, nullptr, "GetSharedMemoryNativeHandle"}, + {20, &Time::GetSharedMemoryNativeHandle, "GetSharedMemoryNativeHandle"}, {30, nullptr, "GetStandardNetworkClockOperationEventReadableHandle"}, {31, nullptr, "GetEphemeralNetworkClockOperationEventReadableHandle"}, {50, nullptr, "SetStandardSteadyClockInternalOffset"}, - {100, nullptr, "IsStandardUserSystemClockAutomaticCorrectionEnabled"}, - {101, nullptr, "SetStandardUserSystemClockAutomaticCorrectionEnabled"}, + {100, &Time::IsStandardUserSystemClockAutomaticCorrectionEnabled, "IsStandardUserSystemClockAutomaticCorrectionEnabled"}, + {101, &Time::SetStandardUserSystemClockAutomaticCorrectionEnabled, "SetStandardUserSystemClockAutomaticCorrectionEnabled"}, {102, nullptr, "GetStandardUserSystemClockInitialYear"}, {200, nullptr, "IsStandardNetworkSystemClockAccuracySufficient"}, {201, nullptr, "GetStandardUserSystemClockAutomaticCorrectionUpdatedTime"}, |