From 3cd8ec509cb512cc80e814df2659804d3feedd7a Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 11 Oct 2021 01:01:31 -0700 Subject: [PATCH] boot: probably should have done this a few months ago huh --- stratosphere/boot/source/boot_main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stratosphere/boot/source/boot_main.cpp b/stratosphere/boot/source/boot_main.cpp index 62163e283..30d8f998a 100644 --- a/stratosphere/boot/source/boot_main.cpp +++ b/stratosphere/boot/source/boot_main.cpp @@ -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);