diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-19 03:10:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 03:10:55 +0100 |
commit | 952dba9c2b2f15941da1b5a1c76f17e403ca3310 (patch) | |
tree | 53898bb7c4fb877a2d71f7f10caed8f4c037b2ac /src/core/hle/service/time/time_u.cpp | |
parent | Merge pull request #104 from RiverCityRansomware/resizedConfigWindow (diff) | |
parent | time: Fix use of CamelCase in ToCalendarTimeWithMyRule (diff) | |
download | yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar.gz yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar.bz2 yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar.lz yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar.xz yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.tar.zst yuzu-952dba9c2b2f15941da1b5a1c76f17e403ca3310.zip |
Diffstat (limited to 'src/core/hle/service/time/time_u.cpp')
-rw-r--r-- | src/core/hle/service/time/time_u.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/hle/service/time/time_u.cpp b/src/core/hle/service/time/time_u.cpp new file mode 100644 index 000000000..87fa9da79 --- /dev/null +++ b/src/core/hle/service/time/time_u.cpp @@ -0,0 +1,23 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/time/time_u.h" + +namespace Service { +namespace Time { + +TIME_U::TIME_U(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:u") { + static const FunctionInfo functions[] = { + {0, &TIME_U::GetStandardUserSystemClock, "GetStandardUserSystemClock"}, + {1, &TIME_U::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"}, + {2, &TIME_U::GetStandardSteadyClock, "GetStandardSteadyClock"}, + {3, &TIME_U::GetTimeZoneService, "GetTimeZoneService"}, + }; + RegisterHandlers(functions); +} + +} // namespace Time +} // namespace Service
\ No newline at end of file |