diff options
author | Liam <byteslice@airmail.cc> | 2023-05-12 03:05:27 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-05-12 03:05:27 +0200 |
commit | a22c5a388065997211090e97c34d7320699e4a00 (patch) | |
tree | 62be20d972e380f8492b5d303c2fe881e37b0169 /src/core/hle/service/time/clock_types.h | |
parent | Merge pull request #10132 from Kelebek1/fermi_blit2 (diff) | |
download | yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar.gz yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar.bz2 yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar.lz yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar.xz yuzu-a22c5a388065997211090e97c34d7320699e4a00.tar.zst yuzu-a22c5a388065997211090e97c34d7320699e4a00.zip |
Diffstat (limited to 'src/core/hle/service/time/clock_types.h')
-rw-r--r-- | src/core/hle/service/time/clock_types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/time/clock_types.h b/src/core/hle/service/time/clock_types.h index ed1eb5b2d..e6293ffb9 100644 --- a/src/core/hle/service/time/clock_types.h +++ b/src/core/hle/service/time/clock_types.h @@ -59,6 +59,18 @@ static_assert(sizeof(SystemClockContext) == 0x20, "SystemClockContext is incorre static_assert(std::is_trivially_copyable_v<SystemClockContext>, "SystemClockContext must be trivially copyable"); +struct ContinuousAdjustmentTimePoint { + s64 measurement_offset; + s64 diff_scale; + u32 shift_amount; + s64 lower; + s64 upper; + Common::UUID clock_source_id; +}; +static_assert(sizeof(ContinuousAdjustmentTimePoint) == 0x38); +static_assert(std::is_trivially_copyable_v<ContinuousAdjustmentTimePoint>, + "ContinuousAdjustmentTimePoint must be trivially copyable"); + /// https://switchbrew.org/wiki/Glue_services#TimeSpanType struct TimeSpanType { s64 nanoseconds{}; |