summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
commitcbc7ad8f6d1c122797f016eba5bbf4898fbf20d3 (patch)
tree6e02225be2f9c3abdd69392a3aa0812a2f534da4 /src/core/hle/service/filesystem
parentMerge pull request #1348 from ogniK5377/GetImageSize (diff)
downloadyuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.gz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.bz2
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.lz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.xz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.zst
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.zip
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 5c4971724..d349ee686 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -197,7 +197,7 @@ ResultVal<FileSys::VirtualDir> VfsDirectoryServiceWrapper::OpenDirectory(const s
auto dir = GetDirectoryRelativeWrapped(backing, path);
if (dir == nullptr) {
// TODO(DarkLordZach): Find a better error code for this
- return ResultCode(-1);
+ return FileSys::ERROR_PATH_NOT_FOUND;
}
return MakeResult(dir);
}