mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-08 05:49:15 +00:00
Boot screen & change shutting down/rebooting procedure
This commit is contained in:
@ -14,8 +14,6 @@ namespace Power
|
||||
{
|
||||
void Power::Reboot()
|
||||
{
|
||||
BeforeShutdown();
|
||||
|
||||
if (((ACPI::ACPI *)this->acpi)->FADT)
|
||||
if (((ACPI::DSDT *)this->dsdt)->ACPIShutdownSupported)
|
||||
((ACPI::DSDT *)this->dsdt)->Reboot();
|
||||
@ -44,8 +42,6 @@ namespace Power
|
||||
|
||||
void Power::Shutdown()
|
||||
{
|
||||
BeforeShutdown();
|
||||
|
||||
if (((ACPI::ACPI *)this->acpi)->FADT)
|
||||
if (((ACPI::DSDT *)this->dsdt)->ACPIShutdownSupported)
|
||||
((ACPI::DSDT *)this->dsdt)->Shutdown();
|
||||
|
Reference in New Issue
Block a user