summaryrefslogtreecommitdiffstats
path: root/src/common/x64
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-03 20:00:23 +0100
committerGitHub <noreply@github.com>2020-11-03 20:00:23 +0100
commit222fe75401f0672de78c07ba901e650ccc8aa96a (patch)
treeb3f29608f58df5bc86c502171a5f66e2692ec3d8 /src/common/x64
parentMerge pull request #4878 from bunnei/unload-nrr (diff)
parentcommon: Enable warnings as errors (diff)
downloadyuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar.gz
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar.bz2
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar.lz
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar.xz
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.tar.zst
yuzu-222fe75401f0672de78c07ba901e650ccc8aa96a.zip
Diffstat (limited to 'src/common/x64')
-rw-r--r--src/common/x64/native_clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/native_clock.h b/src/common/x64/native_clock.h
index 7c503df26..97aab6ac9 100644
--- a/src/common/x64/native_clock.h
+++ b/src/common/x64/native_clock.h
@@ -34,7 +34,7 @@ private:
/// 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
/// be higher.
- static constexpr u64 inaccuracy_mask = ~(0x400 - 1);
+ static constexpr u64 inaccuracy_mask = ~(UINT64_C(0x400) - 1);
SpinLock rtsc_serialize{};
u64 last_measure{};