2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Common/NativeClockx86: Reduce native clock accuracy further.

This commit is contained in:
Fernando Sahmkow 2020-05-18 13:08:53 -04:00
parent 71c4779211
commit 3165152396

View file

@ -34,7 +34,7 @@ private:
/// value used to reduce the native clocks accuracy as some apss rely on /// value used to reduce the native clocks accuracy as some apss rely on
/// undefined behavior where the level of accuracy in the clock shouldn't /// undefined behavior where the level of accuracy in the clock shouldn't
/// be higher. /// be higher.
static constexpr u64 inaccuracy_mask = ~(0x100 - 1); static constexpr u64 inaccuracy_mask = ~(0x400 - 1);
SpinLock rtsc_serialize{}; SpinLock rtsc_serialize{};
u64 last_measure{}; u64 last_measure{};