summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/3dsx.cpp3
-rw-r--r--src/core/loader/ncch.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp
index a03515e6e..5ad5c5287 100644
--- a/src/core/loader/3dsx.cpp
+++ b/src/core/loader/3dsx.cpp
@@ -278,8 +278,7 @@ ResultStatus AppLoader_THREEDSX::Load() {
278 278
279 Kernel::g_current_process->Run(48, Kernel::DEFAULT_STACK_SIZE); 279 Kernel::g_current_process->Run(48, Kernel::DEFAULT_STACK_SIZE);
280 280
281 Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_SelfNCCH>(*this), 281 Service::FS::RegisterSelfNCCH(*this);
282 Service::FS::ArchiveIdCode::SelfNCCH);
283 282
284 is_loaded = true; 283 is_loaded = true;
285 return ResultStatus::Success; 284 return ResultStatus::Success;
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp
index c46d7cfc6..5107135f9 100644
--- a/src/core/loader/ncch.cpp
+++ b/src/core/loader/ncch.cpp
@@ -187,8 +187,7 @@ ResultStatus AppLoader_NCCH::Load() {
187 if (ResultStatus::Success != result) 187 if (ResultStatus::Success != result)
188 return result; 188 return result;
189 189
190 Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_SelfNCCH>(*this), 190 Service::FS::RegisterSelfNCCH(*this);
191 Service::FS::ArchiveIdCode::SelfNCCH);
192 191
193 ParseRegionLockoutInfo(); 192 ParseRegionLockoutInfo();
194 193