summaryrefslogtreecommitdiffstats
path: root/src/common/x64/native_clock.cpp
diff options
context:
space:
mode:
authorMaide <34639600+Kelebek1@users.noreply.github.com>2022-07-28 01:47:06 +0200
committerGitHub <noreply@github.com>2022-07-28 01:47:06 +0200
commit2e461103790110a3deea6425709b1f7f937085ea (patch)
tree495ea29aedfefc3564a87c8c4b44ed199d1aad3a /src/common/x64/native_clock.cpp
parentimplement pause on system suspend (#8585) (diff)
downloadyuzu-2e461103790110a3deea6425709b1f7f937085ea.tar
yuzu-2e461103790110a3deea6425709b1f7f937085ea.tar.gz
yuzu-2e461103790110a3deea6425709b1f7f937085ea.tar.bz2
yuzu-2e461103790110a3deea6425709b1f7f937085ea.tar.lz
yuzu-2e461103790110a3deea6425709b1f7f937085ea.tar.xz
yuzu-2e461103790110a3deea6425709b1f7f937085ea.tar.zst
yuzu-2e461103790110a3deea6425709b1f7f937085ea.zip
Diffstat (limited to 'src/common/x64/native_clock.cpp')
-rw-r--r--src/common/x64/native_clock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/native_clock.cpp b/src/common/x64/native_clock.cpp
index 6aaa8cdf9..8b08332ab 100644
--- a/src/common/x64/native_clock.cpp
+++ b/src/common/x64/native_clock.cpp
@@ -75,8 +75,8 @@ NativeClock::NativeClock(u64 emulated_cpu_frequency_, u64 emulated_clock_frequen
}
u64 NativeClock::GetRTSC() {
- TimePoint current_time_point{};
TimePoint new_time_point{};
+ TimePoint current_time_point{};
current_time_point.pack = Common::AtomicLoad128(time_point.pack.data());
do {