mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 07:04:24 -04:00
fatal: Skeleton ScreenDrawing code
This commit is contained in:
parent
5d5f8ad3d5
commit
5f3187300d
4 changed files with 40 additions and 6 deletions
|
@ -17,6 +17,20 @@
|
|||
#include <switch.h>
|
||||
#include "fatal_task_screen.hpp"
|
||||
|
||||
Result ShowFatalTask::ShowFatal() {
|
||||
Result rc = 0;
|
||||
|
||||
/* TODO: Get graphics to work, draw fatal screen. */
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Result ShowFatalTask::Run() {
|
||||
/* Don't show the fatal error screen until we've verified the battery is okay. */
|
||||
eventWait(this->battery_event, U64_MAX);
|
||||
|
||||
return ShowFatal();
|
||||
}
|
||||
|
||||
void BacklightControlTask::TurnOnBacklight() {
|
||||
lblSwitchBacklightOn(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue