mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 04:04:22 -04:00
ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
parent
e5b1739f65
commit
dd78ede99f
370 changed files with 2107 additions and 2107 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue