mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 00:54:23 -04:00
fs: revise allocation-fail result names
This commit is contained in:
parent
11e4bed199
commit
e13b81aa9e
50 changed files with 304 additions and 218 deletions
|
@ -127,7 +127,7 @@ namespace ams::fs::impl {
|
|||
|
||||
/* Create the output fsa file. */
|
||||
out_file->reset(new FileServiceObjectAdapter(std::move(file)));
|
||||
R_UNLESS(out_file != nullptr, fs::ResultAllocationFailureInNew());
|
||||
R_UNLESS(out_file != nullptr, fs::ResultAllocationMemoryFailedNew());
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ namespace ams::fs::impl {
|
|||
|
||||
/* Create the output fsa directory. */
|
||||
out_dir->reset(new DirectoryServiceObjectAdapter(std::move(dir)));
|
||||
R_UNLESS(out_dir != nullptr, fs::ResultAllocationFailureInNew());
|
||||
R_UNLESS(out_dir != nullptr, fs::ResultAllocationMemoryFailedNew());
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue