summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_systemsavedata.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-02-26 02:35:55 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-02-26 02:35:55 +0100
commit1b5ee96797e7f3fb334ea60e0c37d356929638e8 (patch)
tree1fc581af35a290d40318d32b40737d23650afd52 /src/core/file_sys/archive_systemsavedata.h
parentMerge pull request #611 from yuriks/pixelated-textures (diff)
parentArchives: Properly implemented the SystemSaveData archive. (diff)
downloadyuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar.gz
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar.bz2
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar.lz
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar.xz
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.tar.zst
yuzu-1b5ee96797e7f3fb334ea60e0c37d356929638e8.zip
Diffstat (limited to 'src/core/file_sys/archive_systemsavedata.h')
-rw-r--r--src/core/file_sys/archive_systemsavedata.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/file_sys/archive_systemsavedata.h b/src/core/file_sys/archive_systemsavedata.h
index c8f5845ca..556a2a488 100644
--- a/src/core/file_sys/archive_systemsavedata.h
+++ b/src/core/file_sys/archive_systemsavedata.h
@@ -15,17 +15,17 @@
namespace FileSys {
/// File system interface to the SystemSaveData archive
-class Archive_SystemSaveData final : public DiskArchive {
+class ArchiveFactory_SystemSaveData final : public ArchiveFactory {
public:
- Archive_SystemSaveData(const std::string& mount_point, u64 save_id);
+ ArchiveFactory_SystemSaveData(const std::string& mount_point);
- /**
- * Initialize the archive.
- * @return true if it initialized successfully
- */
- bool Initialize();
+ ResultVal<std::unique_ptr<ArchiveBackend>> Open(const Path& path) override;
+ ResultCode Format(const Path& path) override;
std::string GetName() const override { return "SystemSaveData"; }
+
+private:
+ std::string base_path;
};
} // namespace FileSys