mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
fatal: Implement StateTransitionStopTask
This commit is contained in:
parent
4d1481e2eb
commit
b771c42f7f
4 changed files with 69 additions and 9 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "fatal_task.hpp"
|
||||
|
||||
#include "fatal_task_error_report.hpp"
|
||||
#include "fatal_task_power.hpp"
|
||||
|
||||
|
||||
static constexpr size_t MaxTasks = 8;
|
||||
|
@ -50,9 +51,9 @@ void RunFatalTasks(FatalContext *ctx, u64 title_id, bool error_report, Event *er
|
|||
RunTask(new ErrorReportTask(ctx, title_id, error_report, erpt_event));
|
||||
/* TODO: RunTask(new PowerControlTask(ctx, title_id, battery_event)); */
|
||||
/* TODO: RunTask(new ShowFatalTask(ctx, title_id, battery_event)); */
|
||||
/* TODO: RunTask(new StopSoundTask()); */
|
||||
/* TODO: RunTask(new BacklightControlTask()); */
|
||||
/* TODO: RunTask(new AdjustClockTask()); */
|
||||
/* TODO: RunTask(new PowerButtonTask(erpt_event)); */
|
||||
/* TODO: RunTask(new StateTransitionStop()); */
|
||||
/* TODO: RunTask(new StopSoundTask(ctx, title_id)); */
|
||||
/* TODO: RunTask(new BacklightControlTask(ctx, title_id)); */
|
||||
/* TODO: RunTask(new AdjustClockTask(ctx, title_id)); */
|
||||
/* TODO: RunTask(new PowerButtonTask(ctx, title_id, erpt_event)); */
|
||||
RunTask(new StateTransitionStopTask(ctx, title_id));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue