ams: use R_SUCCEED, R_THROW globally

This commit is contained in:
Michael Scire committed 2022-03-26 00:14:36 -07:00
1 parent e5b1739f65
commit dd78ede99f
370 files changed
+2107 -2107

No files matched your search

@@ -72,7 +72,7 @@ namespace ams::ncm {
R_UNLESS(m_buffer != nullptr, ncm::ResultAllocationFailed());
m_size = size;
return ResultSuccess();
R_SUCCEED();
}
Result Initialize(const void *buf, size_t size) {
@@ -82,7 +82,7 @@ namespace ams::ncm {
/* Copy the input data in. */
std::memcpy(m_buffer, buf, size);
return ResultSuccess();
R_SUCCEED();
}
};