mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
fatal: yield our lbl session unless needed
This commit is contained in:
parent
a4a2cc2218
commit
e5b1739f65
2 changed files with 3 additions and 2 deletions
|
@ -124,7 +124,6 @@ namespace ams {
|
|||
R_ABORT_UNLESS(pcvInitialize());
|
||||
}
|
||||
|
||||
R_ABORT_UNLESS(lblInitialize());
|
||||
R_ABORT_UNLESS(psmInitialize());
|
||||
R_ABORT_UNLESS(spsmInitialize());
|
||||
R_ABORT_UNLESS(plInitialize(::PlServiceType_User));
|
||||
|
|
|
@ -499,7 +499,9 @@ namespace ams::fatal::srv {
|
|||
}
|
||||
|
||||
void BacklightControlTask::TurnOnBacklight() {
|
||||
lblSwitchBacklightOn(0);
|
||||
R_ABORT_UNLESS(::lblInitialize());
|
||||
::lblSwitchBacklightOn(0);
|
||||
::lblExit();
|
||||
}
|
||||
|
||||
Result BacklightControlTask::Run() {
|
||||
|
|
Loading…
Reference in a new issue