mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -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
|
@ -45,10 +45,10 @@ namespace ams::ncm {
|
|||
|
||||
/* Output the storage id. */
|
||||
*out_storage_id = storage_id;
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
return ncm::ResultNotEnoughInstallSpace();
|
||||
R_THROW(ncm::ResultNotEnoughInstallSpace());
|
||||
}
|
||||
|
||||
Result SelectPatchStorage(StorageId *out_storage_id, StorageId storage_id, PatchId patch_id) {
|
||||
|
@ -77,7 +77,7 @@ namespace ams::ncm {
|
|||
}
|
||||
}
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
const char *GetStorageIdString(StorageId storage_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue