From db2fdd0352d023787fcac032101e1e36fb8aa03f Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Fri, 28 Jun 2019 21:02:34 -0400 Subject: fsp-srv: Implement OutputAccessLogToSdCard Allows games to log data to the SD. --- src/core/hle/service/filesystem/filesystem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/hle/service/filesystem/filesystem.cpp') 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()->InstallAsService(service_manager); - std::make_shared()->InstallAsService(service_manager); - std::make_shared()->InstallAsService(service_manager); + CreateFactories(*system.GetFilesystem(), false); + std::make_shared()->InstallAsService(system.ServiceManager()); + std::make_shared()->InstallAsService(system.ServiceManager()); + std::make_shared(system.GetReporter())->InstallAsService(system.ServiceManager()); } } // namespace Service::FileSystem -- cgit v1.2.3