summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-27 01:30:17 -0500
committerGravatar Lioncash2020-11-27 09:45:08 -0500
commit073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081 (patch)
treea12109a226823b444d7261f25e256777af6b93e4 /src/core/hle
parentMerge pull request #5018 from lioncash/service-global (diff)
downloadyuzu-073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081.tar.gz
yuzu-073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081.tar.xz
yuzu-073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081.zip
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')
-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
717 } 717 }
718 718
719 if (save_data_factory == nullptr) { 719 if (save_data_factory == nullptr) {
720 save_data_factory = std::make_unique<FileSys::SaveDataFactory>(std::move(nand_directory)); 720 save_data_factory =
721 std::make_unique<FileSys::SaveDataFactory>(system, std::move(nand_directory));
721 } 722 }
722 723
723 if (sdmc_factory == nullptr) { 724 if (sdmc_factory == nullptr) {