diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-08 03:39:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 03:39:40 +0200 |
commit | 8f5aae30746f678eed69d8f311e9b5634a8dd12c (patch) | |
tree | 3755447c918a345e88cca7a5e925543ea1a9fc4f /src/core/hle/service/filesystem/filesystem.cpp | |
parent | Merge pull request #2694 from FearlessTobi/patch-1 (diff) | |
parent | fsp-srv: Implement GetAccessLogVersionInfo (diff) | |
download | yuzu-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.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 |