diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2019-09-22 03:42:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 03:42:34 +0200 |
commit | c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd (patch) | |
tree | e260125fd1ef6e8a29b255b967a447eeb1aeb204 /src/core/loader/nca.cpp | |
parent | Merge pull request #2883 from ogniK5377/log-game (diff) | |
parent | configure_debug: Move reporting option to logging (diff) | |
download | yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.gz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.bz2 yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.lz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.xz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.zst yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.zip |
Diffstat (limited to 'src/core/loader/nca.cpp')
-rw-r--r-- | src/core/loader/nca.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp index 0f65fb637..5a0469978 100644 --- a/src/core/loader/nca.cpp +++ b/src/core/loader/nca.cpp @@ -6,6 +6,7 @@ #include "common/file_util.h" #include "common/logging/log.h" +#include "core/core.h" #include "core/file_sys/content_archive.h" #include "core/file_sys/romfs_factory.h" #include "core/hle/kernel/process.h" @@ -57,7 +58,8 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::Process& process) { } if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) { - Service::FileSystem::RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(*this)); + Core::System::GetInstance().GetFileSystemController().RegisterRomFS( + std::make_unique<FileSys::RomFSFactory>(*this)); } is_loaded = true; |