diff options
author | wwylele <wwylele@gmail.com> | 2017-02-10 17:15:26 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-02-13 13:57:38 +0200 |
commit | 20544977dab5b00a86c73572b94e7e75a7499f7a (patch) | |
tree | 1c5f2e443a8c73d70cfbf52b0e5783f99d831802 /src/core/loader/3dsx.cpp | |
parent | a0df747325291ba38f0383df4cbd8ff3408c636e (diff) |
loader: use self NCCH archive
Diffstat (limited to 'src/core/loader/3dsx.cpp')
-rw-r--r-- | src/core/loader/3dsx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp index 09266e8b07..74e3364874 100644 --- a/src/core/loader/3dsx.cpp +++ b/src/core/loader/3dsx.cpp @@ -5,7 +5,7 @@ #include <algorithm> #include <vector> #include "common/logging/log.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/fs/archive.h" @@ -277,8 +277,8 @@ ResultStatus AppLoader_THREEDSX::Load() { Kernel::g_current_process->Run(48, Kernel::DEFAULT_STACK_SIZE); - 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); is_loaded = true; return ResultStatus::Success; |