summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nca.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-22 23:56:56 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-21 22:43:10 +0200
commitc6ff4a6f4d05eb380616be57e4088003e7aedfcb (patch)
treea923240a1505dd0ebbf476f43fe7e653a07e3217 /src/core/loader/nca.cpp
parentsettings: Update LogSettings to show NAND/SDMC paths from FileUtil (diff)
downloadyuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.gz
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.bz2
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.lz
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.xz
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.zst
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/nca.cpp4
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;