summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-06-29 01:29:24 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-06-30 10:18:56 +0200
commit3196d957b02266293b68a60c75c3db9a00faf1f6 (patch)
treec78638c3617a1406b1626a230d7655c0df8b6dfc /src/common
parentNative clock: Use atomic ops as before. (diff)
downloadyuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.gz
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.bz2
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.lz
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.xz
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.zst
yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/x64/native_clock.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/x64/native_clock.cpp b/src/common/x64/native_clock.cpp
index c0d38cf6b..6aaa8cdf9 100644
--- a/src/common/x64/native_clock.cpp
+++ b/src/common/x64/native_clock.cpp
@@ -89,7 +89,6 @@ u64 NativeClock::GetRTSC() {
new_time_point.inner.accumulated_ticks = current_time_point.inner.accumulated_ticks + diff;
} while (!Common::AtomicCompareAndSwap(time_point.pack.data(), new_time_point.pack,
current_time_point.pack, current_time_point.pack));
- /// The clock cannot be more precise than the guest timer, remove the lower bits
return new_time_point.inner.accumulated_ticks;
}