CPUID: Fix inverted RDTSCP check

This was inverted and always enabling the RDTSCP cpuid bit for wine.
Thus always disabling it elsewhere.
This commit is contained in:
Ryan Houdek 2024-05-01 18:31:41 -07:00
parent 3fda47e870
commit 6228226c08
No known key found for this signature in database

View File

@ -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 {};