diff options
author | wwylele <wwylele@gmail.com> | 2016-11-28 22:47:41 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2016-11-29 22:50:00 +0100 |
commit | 5af117e00cf35131cbc02af9f244340d1ddc7568 (patch) | |
tree | e9ecc8cfb0ad931b336191455ba6d30b1bbfbe51 /src/core/file_sys/archive_savedata.h | |
parent | Merge pull request #2196 from Subv/system_mode (diff) | |
download | yuzu-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/file_sys/archive_savedata.h')
-rw-r--r-- | src/core/file_sys/archive_savedata.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/file_sys/archive_savedata.h b/src/core/file_sys/archive_savedata.h index 6a372865a..41aa6f189 100644 --- a/src/core/file_sys/archive_savedata.h +++ b/src/core/file_sys/archive_savedata.h @@ -4,10 +4,7 @@ #pragma once -#include <memory> -#include <string> -#include "core/file_sys/archive_backend.h" -#include "core/hle/result.h" +#include "core/file_sys/archive_source_sd_savedata.h" //////////////////////////////////////////////////////////////////////////////////////////////////// // FileSys namespace @@ -17,7 +14,7 @@ namespace FileSys { /// File system interface to the SaveData archive class ArchiveFactory_SaveData final : public ArchiveFactory { public: - ArchiveFactory_SaveData(const std::string& mount_point); + explicit ArchiveFactory_SaveData(std::shared_ptr<ArchiveSource_SDSaveData> sd_savedata_source); std::string GetName() const override { return "SaveData"; @@ -30,6 +27,7 @@ public: private: std::string mount_point; + std::shared_ptr<ArchiveSource_SDSaveData> sd_savedata_source; }; } // namespace FileSys |