mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 04:01:27 +01:00
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:
1 parent
c99d1e48bd
commit
34e1fcccf8
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user