mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
Misc: Replace likely/unlikely with C++20 equivalents
This commit is contained in:
1 parent
76f36b780c
commit
c8b051628f
13 files changed
+51
-56
No files matched your search
@@ -216,7 +216,7 @@ u64 Threading::GetThreadTicksPerSecond()
|
||||
// On x86, despite what the MS documentation says, this basically appears to be rdtsc.
|
||||
// So, the frequency is our base clock speed (and stable regardless of power management).
|
||||
static u64 frequency = 0;
|
||||
if (unlikely(frequency == 0))
|
||||
if (frequency == 0) [[unlikely]]
|
||||
{
|
||||
HKEY key;
|
||||
LSTATUS res =
|
||||
|
||||
Reference in new issue
Block a user