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

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