diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-11 19:50:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 19:50:08 +0200 |
commit | 0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5 (patch) | |
tree | a55cd9991104cc241f86b29f7945d750539625c1 /src/core/hle/service/time/clock_types.h | |
parent | Merge pull request #6183 from MerryMage/dynarmic (diff) | |
parent | service: time: Setup the network clock with the local clock context (diff) | |
download | yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar.gz yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar.bz2 yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar.lz yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar.xz yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.tar.zst yuzu-0c19147e09a2ebbb64bc1735eb8fee1b5ee807d5.zip |
Diffstat (limited to 'src/core/hle/service/time/clock_types.h')
-rw-r--r-- | src/core/hle/service/time/clock_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/time/clock_types.h b/src/core/hle/service/time/clock_types.h index b78892223..a9cfe3eb0 100644 --- a/src/core/hle/service/time/clock_types.h +++ b/src/core/hle/service/time/clock_types.h @@ -12,6 +12,12 @@ namespace Service::Time::Clock { +enum class TimeType : u8 { + UserSystemClock, + NetworkSystemClock, + LocalSystemClock, +}; + /// https://switchbrew.org/wiki/Glue_services#SteadyClockTimePoint struct SteadyClockTimePoint { s64 time_point; @@ -84,7 +90,7 @@ struct ClockSnapshot { SteadyClockTimePoint steady_clock_time_point; TimeZone::LocationName location_name; u8 is_automatic_correction_enabled; - u8 type; + TimeType type; INSERT_PADDING_BYTES_NOINIT(0x2); static ResultCode GetCurrentTime(s64& current_time, |