summaryrefslogtreecommitdiff
path: root/src/core/loader/nca.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-04-22 17:56:56 -0400
committerGravatar Zach Hilman2019-09-21 16:43:10 -0400
commitc6ff4a6f4d05eb380616be57e4088003e7aedfcb (patch)
treea923240a1505dd0ebbf476f43fe7e653a07e3217 /src/core/loader/nca.cpp
parentsettings: Update LogSettings to show NAND/SDMC paths from FileUtil (diff)
downloadyuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.gz
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.tar.xz
yuzu-c6ff4a6f4d05eb380616be57e4088003e7aedfcb.zip
yuzu: Port old usages of Filesystem namespace to FilesystemController
Diffstat (limited to 'src/core/loader/nca.cpp')
-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 @@
6 6
7#include "common/file_util.h" 7#include "common/file_util.h"
8#include "common/logging/log.h" 8#include "common/logging/log.h"
9#include "core/core.h"
9#include "core/file_sys/content_archive.h" 10#include "core/file_sys/content_archive.h"
10#include "core/file_sys/romfs_factory.h" 11#include "core/file_sys/romfs_factory.h"
11#include "core/hle/kernel/process.h" 12#include "core/hle/kernel/process.h"
@@ -57,7 +58,8 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::Process& process) {
57 } 58 }
58 59
59 if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) { 60 if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) {
60 Service::FileSystem::RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(*this)); 61 Core::System::GetInstance().GetFileSystemController().RegisterRomFS(
62 std::make_unique<FileSys::RomFSFactory>(*this));
61 } 63 }
62 64
63 is_loaded = true; 65 is_loaded = true;