summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-07-08 03:39:40 +0200
committerGitHub <noreply@github.com>2019-07-08 03:39:40 +0200
commit8f5aae30746f678eed69d8f311e9b5634a8dd12c (patch)
tree3755447c918a345e88cca7a5e925543ea1a9fc4f /src/core/hle/service/filesystem/filesystem.cpp
parentMerge pull request #2694 from FearlessTobi/patch-1 (diff)
parentfsp-srv: Implement GetAccessLogVersionInfo (diff)
downloadyuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar.gz
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar.bz2
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar.lz
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar.xz
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.tar.zst
yuzu-8f5aae30746f678eed69d8f311e9b5634a8dd12c.zip
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp10
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