Skip to content

Commit

Permalink
Merge pull request #3606 from Sonicadvance1/fix_inverted_rdtscp
Browse files Browse the repository at this point in the history
CPUID: Fix inverted RDTSCP check
  • Loading branch information
lioncash authored May 2, 2024
2 parents 3fda47e + 6228226 commit 9781b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FEXCore/Source/Interface/Core/CPUID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,9 @@ FEXCore::CPUID::FunctionResults CPUIDEmu::Function_8000_0001h(uint32_t Leaf) con

// RDTSCP is disabled on WIN32/Wine because there is no sane way to query processor ID.
#ifndef _WIN32
constexpr uint32_t SUPPORTS_RDTSCP = 0;
#else
constexpr uint32_t SUPPORTS_RDTSCP = 1;
#else
constexpr uint32_t SUPPORTS_RDTSCP = 0;
#endif
FEXCore::CPUID::FunctionResults Res {};

Expand Down

0 comments on commit 9781b95

Please sign in to comment.