aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive_ncch.cpp
diff options
context:
space:
mode:
authorTheKoopaKingdom <thekoopakingdom@gmail.com>2017-05-24 19:51:31 -0400
committerTheKoopaKingdom <thekoopakingdom@gmail.com>2017-06-02 18:40:39 -0400
commitfa11f957f4ced6eab4a0beb14634972012dc7818 (patch)
treededa62dae5c41e8424606c236f576e1b94f06236 /src/core/file_sys/archive_ncch.cpp
parentaf0a2f11d92d4cd465d2d3f138ff0fb96f302c6a (diff)
Switched to the ERROR_NOT_FOUND constant from errors.h.
Diffstat (limited to 'src/core/file_sys/archive_ncch.cpp')
-rw-r--r--src/core/file_sys/archive_ncch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_ncch.cpp b/src/core/file_sys/archive_ncch.cpp
index 84950f8717..ad59c053e9 100644
--- a/src/core/file_sys/archive_ncch.cpp
+++ b/src/core/file_sys/archive_ncch.cpp
@@ -11,6 +11,7 @@
#include "common/string_util.h"
#include "core/core.h"
#include "core/file_sys/archive_ncch.h"
+#include "core/file_sys/errors.h"
#include "core/file_sys/ivfc_archive.h"
#include "core/hle/service/fs/archive.h"
@@ -71,8 +72,7 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_NCCH::Open(const Path&
"NG bad word list");
}
}
- return ResultCode(ErrorDescription::FS_NotFound, ErrorModule::FS, ErrorSummary::NotFound,
- ErrorLevel::Status);
+ return ERROR_NOT_FOUND;
}
auto size = file->GetSize();