fatal: yield our lbl session unless needed

This commit is contained in:
Michael Scire 2022-03-25 23:47:20 -07:00
parent a4a2cc2218
commit e5b1739f65
2 changed files with 3 additions and 2 deletions

View file

@ -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));

View file

@ -499,7 +499,9 @@ namespace ams::fatal::srv {
}
void BacklightControlTask::TurnOnBacklight() {
lblSwitchBacklightOn(0);
R_ABORT_UNLESS(::lblInitialize());
::lblSwitchBacklightOn(0);
::lblExit();
}
Result BacklightControlTask::Run() {