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/deconstructed_rom_directory.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/deconstructed_rom_directory.cpp')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index f9e88be2b..d19c3623c 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -7,6 +7,7 @@ #include "common/common_funcs.h" #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/control_metadata.h" #include "core/file_sys/patch_manager.h" @@ -176,7 +177,8 @@ AppLoader_DeconstructedRomDirectory::LoadResult AppLoader_DeconstructedRomDirect // Register the RomFS if a ".romfs" file was found if (romfs_iter != files.end() && *romfs_iter != nullptr) { romfs = *romfs_iter; - Service::FileSystem::RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(*this)); + Core::System::GetInstance().GetFileSystemController().RegisterRomFS( + std::make_unique<FileSys::RomFSFactory>(*this)); } is_loaded = true; |