From 6ba372fe50fac491ee3dc90fcc40070ebca05146 Mon Sep 17 00:00:00 2001 From: Goldfish64 Date: Sat, 29 Aug 2020 19:57:46 -0500 Subject: [PATCH] OpenCoreKernel: Fix EM64T check --- Platform/OpenCore/OpenCoreKernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/OpenCore/OpenCoreKernel.c b/Platform/OpenCore/OpenCoreKernel.c index 4b4b2c3d..a6223b8d 100644 --- a/Platform/OpenCore/OpenCoreKernel.c +++ b/Platform/OpenCore/OpenCoreKernel.c @@ -126,7 +126,7 @@ OcKernelConfigureCapabilities ( // In automatic mode, if we do not support SSSE3 and can downgrade to U32, do it. // if (RequestedArch == 0 - && (mOcCpuInfo->ExtFeatures & CPUID_EXTFEATURE_EM64T) == 0 + && (mOcCpuInfo->ExtFeatures & CPUID_EXTFEATURE_EM64T) != 0 && (mOcCpuInfo->Features & CPUID_FEATURE_SSSE3) == 0 && (Capabilities & OC_KERN_CAPABILITY_K32_U32) != 0 && (Capabilities & OC_KERN_CAPABILITY_K32_K64_U64) != 0) {