mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 11:56:40 +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