mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
fatal: Implement BacklightControlTask
This commit is contained in:
parent
e96eaa3d7c
commit
5649b6d63f
4 changed files with 67 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "fatal_task.hpp"
|
||||
|
||||
#include "fatal_task_error_report.hpp"
|
||||
#include "fatal_task_screen.hpp"
|
||||
#include "fatal_task_clock.hpp"
|
||||
#include "fatal_task_power.hpp"
|
||||
|
||||
|
@ -56,7 +57,7 @@ void RunFatalTasks(FatalContext *ctx, u64 title_id, bool error_report, Event *er
|
|||
RunTask(new PowerControlTask(ctx, title_id, erpt_event, battery_event));
|
||||
/* TODO: RunTask(new ShowFatalTask(ctx, title_id, battery_event)); */
|
||||
/* TODO: RunTask(new StopSoundTask(ctx, title_id)); */
|
||||
/* TODO: RunTask(new BacklightControlTask(ctx, title_id)); */
|
||||
RunTask(new BacklightControlTask(ctx, title_id));
|
||||
RunTask(new AdjustClockTask(ctx, title_id));
|
||||
RunTask(new PowerButtonObserveTask(ctx, title_id, erpt_event));
|
||||
RunTask(new StateTransitionStopTask(ctx, title_id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue