diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-04-22 23:56:56 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 22:43:10 +0200 |
commit | c6ff4a6f4d05eb380616be57e4088003e7aedfcb (patch) | |
tree | a923240a1505dd0ebbf476f43fe7e653a07e3217 /src/core/loader/nsp.cpp | |
parent | settings: Update LogSettings to show NAND/SDMC paths from FileUtil (diff) | |
download | yuzu-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 'src/core/loader/nsp.cpp')
-rw-r--r-- | src/core/loader/nsp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp index 35c82c99d..13950fc08 100644 --- a/src/core/loader/nsp.cpp +++ b/src/core/loader/nsp.cpp @@ -5,6 +5,7 @@ #include <vector> #include "common/common_types.h" +#include "core/core.h" #include "core/file_sys/card_image.h" #include "core/file_sys/content_archive.h" #include "core/file_sys/control_metadata.h" @@ -105,7 +106,8 @@ AppLoader_NSP::LoadResult AppLoader_NSP::Load(Kernel::Process& process) { FileSys::VirtualFile update_raw; if (ReadUpdateRaw(update_raw) == ResultStatus::Success && update_raw != nullptr) { - Service::FileSystem::SetPackedUpdate(std::move(update_raw)); + Core::System::GetInstance().GetFileSystemController().SetPackedUpdate( + std::move(update_raw)); } is_loaded = true; |