1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-29 15:22:15 +00:00

boot: probably should have done this a few months ago huh

This commit is contained in:
Michael Scire 2021-10-11 01:01:31 -07:00
parent 3bee3e77ca
commit 3cd8ec509c

View file

@ -135,6 +135,11 @@ namespace ams {
/* Get the hardware type. */ /* Get the hardware type. */
const auto hw_type = spl::GetHardwareType(); 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. */ /* Initialize the power control library without interrupt event handling. */
if (hw_type != spl::HardwareType::Calcio) { if (hw_type != spl::HardwareType::Calcio) {
powctl::Initialize(false); powctl::Initialize(false);