summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-11-28 22:47:41 +0100
committerwwylele <wwylele@gmail.com>2016-11-29 22:50:00 +0100
commit5af117e00cf35131cbc02af9f244340d1ddc7568 (patch)
treee9ecc8cfb0ad931b336191455ba6d30b1bbfbe51 /src/core/hle/service
parentMerge pull request #2196 from Subv/system_mode (diff)
downloadyuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar.gz
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar.bz2
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar.lz
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar.xz
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.tar.zst
yuzu-5af117e00cf35131cbc02af9f244340d1ddc7568.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/fs/archive.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index 4c29784e8..a067e9262 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -535,7 +535,8 @@ void RegisterArchiveTypes() {
sdmc_directory.c_str());
// Create the SaveData archive
- auto savedata_factory = std::make_unique<FileSys::ArchiveFactory_SaveData>(sdmc_directory);
+ auto sd_savedata_source = std::make_shared<FileSys::ArchiveSource_SDSaveData>(sdmc_directory);
+ auto savedata_factory = std::make_unique<FileSys::ArchiveFactory_SaveData>(sd_savedata_source);
RegisterArchiveType(std::move(savedata_factory), ArchiveIdCode::SaveData);
auto extsavedata_factory =