summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_systemsavedata.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-12-28 19:51:44 +0100
committerSubv <subv2112@gmail.com>2016-03-20 20:30:01 +0100
commitd26c6b3212ed36970410814593ee5ec082b1d95a (patch)
tree3b03822761cbec083ea57719b0c8a9df530c4899 /src/core/file_sys/archive_systemsavedata.cpp
parentHLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist. (diff)
downloadyuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.gz
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.bz2
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.lz
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.xz
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.zst
yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.zip
Diffstat (limited to 'src/core/file_sys/archive_systemsavedata.cpp')
-rw-r--r--src/core/file_sys/archive_systemsavedata.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_systemsavedata.cpp b/src/core/file_sys/archive_systemsavedata.cpp
index 896f89529..e1780de2f 100644
--- a/src/core/file_sys/archive_systemsavedata.cpp
+++ b/src/core/file_sys/archive_systemsavedata.cpp
@@ -63,11 +63,17 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SystemSaveData::Open(c
return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive));
}
-ResultCode ArchiveFactory_SystemSaveData::Format(const Path& path) {
+ResultCode ArchiveFactory_SystemSaveData::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) {
std::string fullpath = GetSystemSaveDataPath(base_path, path);
FileUtil::DeleteDirRecursively(fullpath);
FileUtil::CreateFullPath(fullpath);
return RESULT_SUCCESS;
}
+ResultVal<ArchiveFormatInfo> ArchiveFactory_SystemSaveData::GetFormatInfo(const Path& path) const {
+ // TODO(Subv): Implement
+ LOG_ERROR(Service_FS, "Unimplemented GetFormatInfo archive %s", GetName().c_str());
+ return ResultCode(-1);
+}
+
} // namespace FileSys