summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorChloe <25727384+ogniK5377@users.noreply.github.com>2020-11-28 02:33:42 +1100
committerGitHub <noreply@github.com>2020-11-28 02:33:42 +1100
commitf397edff0ea6711bac15cfe47a0157e9b790b8bb (patch)
treea12109a226823b444d7261f25e256777af6b93e4 /src/core/hle
parentee5e77fbf97da699e5ded623c12cad56dd7ce0da (diff)
parent073e07ae2d0eab9dfdcc4f5b3ea79f4f810dd081 (diff)
Merge pull request #5023 from lioncash/save-global
savedata_factory: Eliminate usage of the global system instance
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
}
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) {