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

@@ -185,7 +185,7 @@ namespace ams::ncm {
/* Write out the buffer we've populated. */
*out_meta_infos = std::move(buffer);
return ResultSuccess();
R_SUCCEED();
};
/* If there are no firmware variations to list, read meta infos from base. */
@@ -251,7 +251,7 @@ namespace ams::ncm {
/* Output the content meta info buffer. */
*out_meta_infos = std::move(buffer);
return ResultSuccess();
R_SUCCEED();
}
void SetMountContentMetaFunction(MountContentMetaFunction func) {