aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-27 01:30:17 -0500
committerLioncash <mathew1800@gmail.com>2020-11-27 09:45:08 -0500
commit073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081 (patch)
treea12109a226823b444d7261f25e256777af6b93e4 /src/core/hle/service/filesystem/filesystem.cpp
parentee5e77fbf97da699e5ded623c12cad56dd7ce0da (diff)
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index af97561e4..ca93062cf 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -717,7 +717,8 @@ void FileSystemController::CreateFactories(FileSys::VfsFilesystem& vfs, bool ove
}
if (save_data_factory == nullptr) {
- save_data_factory = std::make_unique<FileSys::SaveDataFactory>(std::move(nand_directory));
+ save_data_factory =
+ std::make_unique<FileSys::SaveDataFactory>(system, std::move(nand_directory));
}
if (sdmc_factory == nullptr) {