Fixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision

With these, `Nintendo Entertainment System - Nintendo Switch Online` loads
This commit is contained in:
David Marcec
2018-09-19 23:25:00 +10:00
parent b33ce787b7
commit cbc7ad8f6d
3 changed files with 12 additions and 7 deletions

View File

@ -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);
}