mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 23:24:26 -04:00
fatal: Skeleton ScreenDrawing code
This commit is contained in:
parent
5d5f8ad3d5
commit
5f3187300d
4 changed files with 40 additions and 6 deletions
|
@ -19,6 +19,19 @@
|
|||
#include <stratosphere.hpp>
|
||||
#include "fatal_task.hpp"
|
||||
|
||||
class ShowFatalTask : public IFatalTask {
|
||||
private:
|
||||
Event *battery_event;
|
||||
private:
|
||||
Result ShowFatal();
|
||||
public:
|
||||
ShowFatalTask(FatalContext *ctx, u64 title_id, Event *evt) : IFatalTask(ctx, title_id), battery_event(evt) { }
|
||||
virtual Result Run() override;
|
||||
virtual const char *GetName() const override {
|
||||
return "ShowFatal";
|
||||
}
|
||||
};
|
||||
|
||||
class BacklightControlTask : public IFatalTask {
|
||||
private:
|
||||
void TurnOnBacklight();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue