mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
boot: implement battery icon drawing functions
This commit is contained in:
parent
cccef3b85c
commit
72377c2345
8 changed files with 198 additions and 5 deletions
|
@ -133,6 +133,18 @@ int main(int argc, char **argv)
|
|||
|
||||
Boot::SetInitialClockConfiguration();
|
||||
|
||||
Boot::ShowLowBatteryIcon();
|
||||
|
||||
Boot::StartShowChargingIcon(0, true);
|
||||
Boot::EndShowChargingIcon();
|
||||
|
||||
Boot::StartShowChargingIcon(15, true);
|
||||
Boot::EndShowChargingIcon();
|
||||
|
||||
Boot::StartShowChargingIcon(100, true);
|
||||
Boot::EndShowChargingIcon();
|
||||
while (1) { }
|
||||
|
||||
/* TODO: CheckAndRepairBootImages(); */
|
||||
|
||||
/* Tell PM to start boot2. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue