mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
strat: fix remaining FS result magic numbers
This commit is contained in:
parent
acffae6643
commit
29be429d2f
5 changed files with 12 additions and 12 deletions
|
@ -62,7 +62,7 @@ static Result GetFileByHandle(FsFile *out, u64 handle) {
|
|||
*out = g_file_handles[handle];
|
||||
return 0;
|
||||
}
|
||||
return 0x2EE202;
|
||||
return ResultFsInvalidArgument;
|
||||
}
|
||||
|
||||
static Result CloseFileByHandle(u64 handle) {
|
||||
|
@ -72,7 +72,7 @@ static Result CloseFileByHandle(u64 handle) {
|
|||
g_file_handles.erase(handle);
|
||||
return 0;
|
||||
}
|
||||
return 0x2EE202;
|
||||
return ResultFsInvalidArgument;
|
||||
}
|
||||
|
||||
static void FixPath(char *dst, size_t dst_size, InBuffer<char> &path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue