strat: always use explicit result namespacing
This commit is contained in:
1 parent
303c6eb5f9
commit
b0e520112b
29 files changed
+237
-237
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ namespace ams::fssystem {
|
||||
const size_t size = normalized_path_len + 1;
|
||||
char *new_dir = static_cast<char *>(fs::impl::Allocate(size));
|
||||
AMS_ABORT_UNLESS(new_dir != nullptr);
|
||||
/* TODO: custom ResultAllocationFailure? */
|
||||
/* TODO: custom fs::ResultAllocationFailure? */
|
||||
|
||||
/* Copy path in. */
|
||||
std::memcpy(new_dir, normalized_path, normalized_path_len);
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ namespace ams::fssystem {
|
||||
}
|
||||
|
||||
/* TODO: Return a result here? Nintendo does not, but they have other allocation failed results. */
|
||||
/* Consider returning ResultFsAllocationFailureInDirectorySaveDataFileSystem? */
|
||||
/* Consider returning fs::ResultFsAllocationFailureInDirectorySaveDataFileSystem? */
|
||||
AMS_ABORT_UNLESS(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user