diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 03:02:34 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-29 03:02:34 +0200 |
commit | db2fdd0352d023787fcac032101e1e36fb8aa03f (patch) | |
tree | fe785b7af5776cb9dc76de107ca5124d8d56a5ed /src/core/hle/service/filesystem/filesystem.cpp | |
parent | Merge pull request #2548 from DarkLordZach/applet-shopn (diff) | |
download | yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar.gz yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar.bz2 yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar.lz yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar.xz yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.tar.zst yuzu-db2fdd0352d023787fcac032101e1e36fb8aa03f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp index 1ebfeb4bf..8ce110dd1 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -472,12 +472,12 @@ void CreateFactories(FileSys::VfsFilesystem& vfs, bool overwrite) { } } -void InstallInterfaces(SM::ServiceManager& service_manager, FileSys::VfsFilesystem& vfs) { +void InstallInterfaces(Core::System& system) { romfs_factory = nullptr; - CreateFactories(vfs, false); - std::make_shared<FSP_LDR>()->InstallAsService(service_manager); - std::make_shared<FSP_PR>()->InstallAsService(service_manager); - std::make_shared<FSP_SRV>()->InstallAsService(service_manager); + CreateFactories(*system.GetFilesystem(), false); + std::make_shared<FSP_LDR>()->InstallAsService(system.ServiceManager()); + std::make_shared<FSP_PR>()->InstallAsService(system.ServiceManager()); + std::make_shared<FSP_SRV>(system.GetReporter())->InstallAsService(system.ServiceManager()); } } // namespace Service::FileSystem |