mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 23:17:56 -05:00
X64 Clock: Reduce accuracy to be less or equal to guest accuracy.
This commit is contained in:
@ -62,7 +62,8 @@ u64 NativeClock::GetRTSC() {
|
||||
}
|
||||
accumulated_ticks += diff;
|
||||
rtsc_serialize.unlock();
|
||||
return accumulated_ticks;
|
||||
/// The clock cannot be more precise than the guest timer, remove the lower bits
|
||||
return accumulated_ticks & inaccuracy_mask;
|
||||
}
|
||||
|
||||
void NativeClock::Pause(bool is_paused) {
|
||||
|
Reference in New Issue
Block a user