mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +00:00
boot: probably should have done this a few months ago huh
This commit is contained in:
parent
3bee3e77ca
commit
3cd8ec509c
1 changed files with 5 additions and 0 deletions
|
@ -135,6 +135,11 @@ namespace ams {
|
|||
/* Get the hardware type. */
|
||||
const auto hw_type = spl::GetHardwareType();
|
||||
|
||||
/* TODO: Aula support. */
|
||||
/* We haven't actually implemented battery configuration for Aula, running on OLED models */
|
||||
/* is likely not good for the hardware until we do that properly. */
|
||||
AMS_ABORT_UNLESS(hw_type != spl::HardwareType::Aula);
|
||||
|
||||
/* Initialize the power control library without interrupt event handling. */
|
||||
if (hw_type != spl::HardwareType::Calcio) {
|
||||
powctl::Initialize(false);
|
||||
|
|
Loading…
Reference in a new issue