mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix broken logic in PoInit.
svn path=/trunk/; revision=14113
This commit is contained in:
@@ -196,11 +196,16 @@ INIT_FUNCTION
|
||||
PoInit(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
BOOLEAN ForceAcpiDisable)
|
||||
{
|
||||
/* Set the ACPI State to False if it's been forced that way */
|
||||
if (ForceAcpiDisable) PopAcpiPresent = FALSE;
|
||||
|
||||
/* Otherwise check the LoaderBlock's Flag */
|
||||
PopAcpiPresent = LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE;
|
||||
if (ForceAcpiDisable)
|
||||
{
|
||||
/* Set the ACPI State to False if it's been forced that way */
|
||||
PopAcpiPresent = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Otherwise check the LoaderBlock's Flag */
|
||||
PopAcpiPresent = (LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE) ? TRUE : FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user