CPUID: Enable the hypervisor bit

This was originally set to zero out of concern for any application that
is doing anti-emulation, anti-cheat, anti-VM checks.

This concern is likely unwarranted, and if any application/game starts
hitting this as a problem then we can throw an application profile at it
instead.

This makes pressure-vessel emulation checking more optimal by it not
having to do a uname dance.
This commit is contained in:
Ryan Houdek committed 2022-06-06 11:36:42 -07:00
1 parent c99d1e48bd
commit 34e1fcccf8
1 file changed
+1 -1
+1 -1
View File
@@ -446,7 +446,7 @@ FEXCore::CPUID::FunctionResults CPUIDEmu::Function_01h(uint32_t Leaf) {
(SUPPORTS_AVX << 28) | // AVX
(0 << 29) | // F16C
(CTX->HostFeatures.SupportsRAND << 30) | // RDRAND
(0 << 31); // Hypervisor always returns zero
(1 << 31); // Hypervisor always returns one
Res.edx =
(1 << 0) | // FPU