diff options
| author | 2022-06-29 01:29:24 +0200 | |
|---|---|---|
| committer | 2022-06-30 10:18:56 +0200 | |
| commit | 3196d957b02266293b68a60c75c3db9a00faf1f6 (patch) | |
| tree | c78638c3617a1406b1626a230d7655c0df8b6dfc /src/common/x64/native_clock.cpp | |
| parent | Native clock: Use atomic ops as before. (diff) | |
| download | yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.gz yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.tar.xz yuzu-3196d957b02266293b68a60c75c3db9a00faf1f6.zip | |
Adress Feedback.
Diffstat (limited to 'src/common/x64/native_clock.cpp')
| -rw-r--r-- | src/common/x64/native_clock.cpp | 1 |
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() { | |||
| 89 | new_time_point.inner.accumulated_ticks = current_time_point.inner.accumulated_ticks + diff; | 89 | new_time_point.inner.accumulated_ticks = current_time_point.inner.accumulated_ticks + diff; |
| 90 | } while (!Common::AtomicCompareAndSwap(time_point.pack.data(), new_time_point.pack, | 90 | } while (!Common::AtomicCompareAndSwap(time_point.pack.data(), new_time_point.pack, |
| 91 | current_time_point.pack, current_time_point.pack)); | 91 | current_time_point.pack, current_time_point.pack)); |
| 92 | /// The clock cannot be more precise than the guest timer, remove the lower bits | ||
| 93 | return new_time_point.inner.accumulated_ticks; | 92 | return new_time_point.inner.accumulated_ticks; |
| 94 | } | 93 | } |
| 95 | 94 | ||