diff options
author | Subv <subv2112@gmail.com> | 2017-09-24 03:32:18 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-09-25 16:45:02 +0200 |
commit | 774e7deae8655a6f09530770c56ae2e75d55309b (patch) | |
tree | 897ebb18a3cff721f402d0be73559f4694d4b1d8 /src/core/loader | |
parent | Merge pull request #2952 from MerryMage/page-tables (diff) | |
download | yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar.gz yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar.bz2 yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar.lz yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar.xz yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.tar.zst yuzu-774e7deae8655a6f09530770c56ae2e75d55309b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/3dsx.cpp | 3 | ||||
-rw-r--r-- | src/core/loader/ncch.cpp | 3 |
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() { Kernel::g_current_process->Run(48, Kernel::DEFAULT_STACK_SIZE); - Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_SelfNCCH>(*this), - Service::FS::ArchiveIdCode::SelfNCCH); + Service::FS::RegisterSelfNCCH(*this); is_loaded = true; 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() { if (ResultStatus::Success != result) return result; - Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_SelfNCCH>(*this), - Service::FS::ArchiveIdCode::SelfNCCH); + Service::FS::RegisterSelfNCCH(*this); ParseRegionLockoutInfo(); |