mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- correct the processor fall-through on stats.h
This commit is contained in:
parent
a245e4faad
commit
eb6aa9f5d3
1 changed files with 3 additions and 1 deletions
|
@ -140,7 +140,7 @@ inline uint64_t rdtsc()
|
||||||
#elif defined __aarch64__
|
#elif defined __aarch64__
|
||||||
// TODO: Implement and test on ARM64
|
// TODO: Implement and test on ARM64
|
||||||
return 0;
|
return 0;
|
||||||
#else // i386
|
#elif defined __i386__ // i386
|
||||||
if (CPU.bRDTSC)
|
if (CPU.bRDTSC)
|
||||||
{
|
{
|
||||||
uint64_t tsc;
|
uint64_t tsc;
|
||||||
|
@ -148,6 +148,8 @@ inline uint64_t rdtsc()
|
||||||
return tsc;
|
return tsc;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
#else
|
||||||
|
return 0;
|
||||||
#endif // __amd64__
|
#endif // __amd64__
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue