[FS] Add non-shared ExtSaveData, stub SaveData::GetFormatInfo

This commit is contained in:
wheremyfoodat 2023-03-20 17:33:00 +02:00
parent 0d6082e241
commit 9b9f011f5b
5 changed files with 12 additions and 3 deletions

View file

@ -53,6 +53,12 @@ FileDescriptor SaveDataArchive::openFile(const FSPath& path, const FilePerms& pe
return FileError;
}
ArchiveBase::FormatInfo SaveDataArchive::getFormatInfo(const FSPath& path) {
Helpers::panic("Unimplemented SaveData::GetFormatInfo");
return FormatInfo{ .size = 0, .numOfDirectories = 255, .numOfFiles = 255, .duplicateData = false };
}
ArchiveBase* SaveDataArchive::openArchive(const FSPath& path) {
if (path.type != PathType::Empty) {
Helpers::panic("Unimplemented path type for SaveData archive: %d\n", path.type);