From cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Wed, 19 Sep 2018 23:25:00 +1000 Subject: Fixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision With these, `Nintendo Entertainment System - Nintendo Switch Online` loads --- src/core/hle/service/filesystem/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/filesystem') 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 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); } -- cgit v1.2.3