Adress Feedback.

This commit is contained in:
Fernando Sahmkow
2022-06-29 01:29:24 +02:00
parent 2575a93dc6
commit 3196d957b0
3 changed files with 29 additions and 19 deletions

View File

@ -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;
}