diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-06-28 01:47:00 +0200 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-06-28 01:47:00 +0200 |
| commit | eadcaab9bd113b2f7571b5011708aa7b9c0641cb (patch) | |
| tree | 2931943d44a6ddf91ea61c8513e08c674d6dc10c /src/common/x64/native_clock.cpp | |
| parent | 2d838d8ec91c3b517b7154a6358543d12ceed4db (diff) | |
Native Clock: remove inaccuracy mask.
Diffstat (limited to 'src/common/x64/native_clock.cpp')
| -rw-r--r-- | src/common/x64/native_clock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/native_clock.cpp b/src/common/x64/native_clock.cpp index 0b89f9ed2e..488c8c905c 100644 --- a/src/common/x64/native_clock.cpp +++ b/src/common/x64/native_clock.cpp @@ -90,7 +90,7 @@ u64 NativeClock::GetRTSC() { } while (!time_point.compare_exchange_weak( current_time_point, new_time_point, std::memory_order_release, std::memory_order_acquire)); /// The clock cannot be more precise than the guest timer, remove the lower bits - return new_time_point.accumulated_ticks & inaccuracy_mask; + return new_time_point.accumulated_ticks; } void NativeClock::Pause(bool is_paused) { |
