summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-01-18 21:55:15 +0100
committerLiam <byteslice@airmail.cc>2024-01-25 22:42:06 +0100
commitc60ab6bbf61021e247c2574a771d3d88a77ed398 (patch)
tree27e6b6b5d6afaabb7c6d1ba93ad63f140a70a65c /src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
parentfs: Replace Mode enum by OpenMode enum (diff)
downloadyuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.gz
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.bz2
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.lz
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.xz
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.zst
yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.zip
Diffstat (limited to 'src/core/hle/service/filesystem/fsp/fs_i_storage.cpp')
-rw-r--r--src/core/hle/service/filesystem/fsp/fs_i_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_storage.cpp b/src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
index 9fe36f31a..98223c1f9 100644
--- a/src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
+++ b/src/core/hle/service/filesystem/fsp/fs_i_storage.cpp
@@ -31,13 +31,13 @@ void IStorage::Read(HLERequestContext& ctx) {
if (length < 0) {
LOG_ERROR(Service_FS, "Length is less than 0, length={}", length);
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(FileSys::ERROR_INVALID_SIZE);
+ rb.Push(FileSys::ResultInvalidSize);
return;
}
if (offset < 0) {
LOG_ERROR(Service_FS, "Offset is less than 0, offset={}", offset);
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(FileSys::ERROR_INVALID_OFFSET);
+ rb.Push(FileSys::ResultInvalidOffset);
return;
}