diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c index 1eaa5ec591..d7f254b15f 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c @@ -180,7 +180,7 @@ Returns: Status = EFI_SUCCESS; - if (FeaturePcdGet (PcdNtEmulatorEnable)) { + if (!FeaturePcdGet (PcdNtEmulatorEnable)) { if (CompareDescriptor (&IdtEntryTable[ExceptionType].NewDesc, &NullDesc)) { // // we've already installed to this vector