mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Fix broken logic in PoInit.
svn path=/trunk/; revision=14113
This commit is contained in:
parent
3f249a0a67
commit
40b71ac19d
1 changed files with 10 additions and 5 deletions
|
@ -196,11 +196,16 @@ INIT_FUNCTION
|
|||
PoInit(PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
BOOLEAN ForceAcpiDisable)
|
||||
{
|
||||
if (ForceAcpiDisable)
|
||||
{
|
||||
/* Set the ACPI State to False if it's been forced that way */
|
||||
if (ForceAcpiDisable) PopAcpiPresent = FALSE;
|
||||
|
||||
PopAcpiPresent = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Otherwise check the LoaderBlock's Flag */
|
||||
PopAcpiPresent = LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE;
|
||||
PopAcpiPresent = (LoaderBlock->Flags & MB_FLAGS_ACPI_TABLE) ? TRUE : FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue