summaryrefslogtreecommitdiffstats
path: root/src/core/loader/ncch.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-02-10 16:15:26 +0100
committerwwylele <wwylele@gmail.com>2017-02-13 12:57:38 +0100
commit20544977dab5b00a86c73572b94e7e75a7499f7a (patch)
tree1c5f2e443a8c73d70cfbf52b0e5783f99d831802 /src/core/loader/ncch.cpp
parentfile_sys: add Self NCCH archive (diff)
downloadyuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar.gz
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar.bz2
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar.lz
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar.xz
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.tar.zst
yuzu-20544977dab5b00a86c73572b94e7e75a7499f7a.zip
Diffstat (limited to 'src/core/loader/ncch.cpp')
-rw-r--r--src/core/loader/ncch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp
index 5df33f6d2..98b8259d9 100644
--- a/src/core/loader/ncch.cpp
+++ b/src/core/loader/ncch.cpp
@@ -8,7 +8,7 @@
#include "common/logging/log.h"
#include "common/string_util.h"
#include "common/swap.h"
-#include "core/file_sys/archive_romfs.h"
+#include "core/file_sys/archive_selfncch.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/resource_limit.h"
#include "core/hle/service/cfg/cfg.h"
@@ -342,8 +342,8 @@ ResultStatus AppLoader_NCCH::Load() {
if (ResultStatus::Success != result)
return result;
- Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_RomFS>(*this),
- Service::FS::ArchiveIdCode::RomFS);
+ Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_SelfNCCH>(*this),
+ Service::FS::ArchiveIdCode::SelfNCCH);
ParseRegionLockoutInfo();