ams: use R_SUCCEED, R_THROW globally

This commit is contained in:
Michael Scire 2022-03-26 00:14:36 -07:00
parent e5b1739f65
commit dd78ede99f
370 changed files with 2107 additions and 2107 deletions

View file

@ -145,7 +145,7 @@ namespace ams::pgl::srv {
/* Set the globals. */
g_crashed_process_id = process_id;
g_ssd_process_id = ssd_process_id;
return ResultSuccess();
R_SUCCEED();
}
bool ShouldSnapShotAutoDump() {
@ -395,7 +395,7 @@ namespace ams::pgl::srv {
/* We succeeded. */
*out = process_id;
return ResultSuccess();
R_SUCCEED();
}
Result TerminateProcess(os::ProcessId process_id) {
@ -410,7 +410,7 @@ namespace ams::pgl::srv {
/* Return the id. */
*out = *application_process_id;
return ResultSuccess();
R_SUCCEED();
}
Result BoostSystemMemoryResourceLimit(u64 size) {