summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_sharedmemory.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-12 03:05:27 +0200
committerLiam <byteslice@airmail.cc>2023-05-12 03:05:27 +0200
commita22c5a388065997211090e97c34d7320699e4a00 (patch)
tree62be20d972e380f8492b5d303c2fe881e37b0169 /src/core/hle/service/time/time_sharedmemory.h
parentMerge pull request #10132 from Kelebek1/fermi_blit2 (diff)
downloadyuzu-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 '')
-rw-r--r--src/core/hle/service/time/time_sharedmemory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/time/time_sharedmemory.h b/src/core/hle/service/time/time_sharedmemory.h
index 044a4d24e..c89be9765 100644
--- a/src/core/hle/service/time/time_sharedmemory.h
+++ b/src/core/hle/service/time/time_sharedmemory.h
@@ -65,14 +65,15 @@ public:
LockFreeAtomicType<Clock::SystemClockContext> standard_local_system_clock_context;
LockFreeAtomicType<Clock::SystemClockContext> standard_network_system_clock_context;
LockFreeAtomicType<bool> is_standard_user_system_clock_automatic_correction_enabled;
- u32 format_version;
+ LockFreeAtomicType<Clock::ContinuousAdjustmentTimePoint> continuous_adjustment_timepoint;
};
static_assert(offsetof(Format, standard_steady_clock_timepoint) == 0x0);
static_assert(offsetof(Format, standard_local_system_clock_context) == 0x38);
static_assert(offsetof(Format, standard_network_system_clock_context) == 0x80);
static_assert(offsetof(Format, is_standard_user_system_clock_automatic_correction_enabled) ==
0xc8);
- static_assert(sizeof(Format) == 0xd8, "Format is an invalid size");
+ static_assert(offsetof(Format, continuous_adjustment_timepoint) == 0xd0);
+ static_assert(sizeof(Format) == 0x148, "Format is an invalid size");
void SetupStandardSteadyClock(const Common::UUID& clock_source_id,
Clock::TimeSpanType current_time_point);