summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Sebastian Valle2017-09-25 18:24:12 -0500
committerGravatar GitHub2017-09-25 18:24:12 -0500
commitfd30d48ceb7d513923d01a68e568668b6d4d3e7f (patch)
tree897ebb18a3cff721f402d0be73559f4694d4b1d8 /src/core/loader
parentMerge pull request #2952 from MerryMage/page-tables (diff)
parentHLE/Archives: Allow multiple loaded applications to access their SelfNCCH arc... (diff)
downloadyuzu-fd30d48ceb7d513923d01a68e568668b6d4d3e7f.tar.gz
yuzu-fd30d48ceb7d513923d01a68e568668b6d4d3e7f.tar.xz
yuzu-fd30d48ceb7d513923d01a68e568668b6d4d3e7f.zip
Merge pull request #2947 from Subv/selfncch_factory
HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.
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