mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 22:45:17 -04:00
ams: globally prefer R_RETURN to return for ams::Result
This commit is contained in:
parent
dd78ede99f
commit
bbf22b4c60
325 changed files with 1955 additions and 1993 deletions
|
@ -70,7 +70,7 @@ namespace ams::fatal::srv {
|
|||
}
|
||||
|
||||
Result AdjustClockTask::Run() {
|
||||
return AdjustClock();
|
||||
R_RETURN(AdjustClock());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -495,7 +495,7 @@ namespace ams::fatal::srv {
|
|||
/* Don't show the fatal error screen until we've verified the battery is okay. */
|
||||
m_context->battery_event->Wait();
|
||||
|
||||
return ShowFatal();
|
||||
R_RETURN(ShowFatal());
|
||||
}
|
||||
|
||||
void BacklightControlTask::TurnOnBacklight() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue