diff options
author | Subv <subv2112@gmail.com> | 2015-12-28 19:51:44 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-20 20:30:01 +0100 |
commit | d26c6b3212ed36970410814593ee5ec082b1d95a (patch) | |
tree | 3b03822761cbec083ea57719b0c8a9df530c4899 /src/core/file_sys/archive_savedatacheck.cpp | |
parent | HLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist. (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/file_sys/archive_savedatacheck.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_savedatacheck.cpp b/src/core/file_sys/archive_savedatacheck.cpp index ea1dfe2c7..3db11c500 100644 --- a/src/core/file_sys/archive_savedatacheck.cpp +++ b/src/core/file_sys/archive_savedatacheck.cpp @@ -48,11 +48,17 @@ ResultVal<std::unique_ptr<ArchiveBackend>> ArchiveFactory_SaveDataCheck::Open(co return MakeResult<std::unique_ptr<ArchiveBackend>>(std::move(archive)); } -ResultCode ArchiveFactory_SaveDataCheck::Format(const Path& path) { +ResultCode ArchiveFactory_SaveDataCheck::Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) { LOG_ERROR(Service_FS, "Attempted to format a SaveDataCheck archive."); // TODO: Verify error code return ResultCode(ErrorDescription::NotAuthorized, ErrorModule::FS, ErrorSummary::NotSupported, ErrorLevel::Permanent); } +ResultVal<ArchiveFormatInfo> ArchiveFactory_SaveDataCheck::GetFormatInfo(const Path& path) const { + // TODO(Subv): Implement + LOG_ERROR(Service_FS, "Unimplemented GetFormatInfo archive %s", GetName().c_str()); + return ResultCode(-1); +} + } // namespace FileSys |