strat: fix remaining FS result magic numbers

This commit is contained in:
Michael Scire 2019-03-28 19:45:41 -07:00
parent acffae6643
commit 29be429d2f
5 changed files with 12 additions and 12 deletions

View file

@ -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) {