mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 15:49:48 -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
|
@ -30,7 +30,7 @@ namespace ams::fssystem {
|
|||
/* Verify the magic is the current one. */
|
||||
R_UNLESS(magic == NcaHeader::Magic3, fs::ResultInvalidNcaSignature());
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ namespace ams::fssystem {
|
|||
m_header_storage = std::move(work_header_storage);
|
||||
m_body_storage = std::move(base_storage);
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
std::shared_ptr<fs::IStorage> NcaReader::GetSharedBodyStorage() {
|
||||
|
@ -435,7 +435,7 @@ namespace ams::fssystem {
|
|||
|
||||
/* Set our index. */
|
||||
m_fs_index = index;
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
void NcaFsHeaderReader::GetRawData(void *dst, size_t dst_size) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue