mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-15 23:54:24 -04:00
Fatal: Implement basic background drawing.
This commit is contained in:
parent
caf9d11c8c
commit
9f6ff2ed6e
4 changed files with 159 additions and 4 deletions
|
@ -22,7 +22,14 @@
|
|||
class ShowFatalTask : public IFatalTask {
|
||||
private:
|
||||
Event *battery_event;
|
||||
ViDisplay display;
|
||||
ViLayer layer;
|
||||
NWindow win;
|
||||
Framebuffer fb;
|
||||
private:
|
||||
Result SetupDisplayInternal();
|
||||
Result SetupDisplayExternal();
|
||||
Result PrepareScreenForDrawing();
|
||||
Result ShowFatal();
|
||||
public:
|
||||
ShowFatalTask(FatalContext *ctx, u64 title_id, Event *evt) : IFatalTask(ctx, title_id), battery_event(evt) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue