Start implementing SystemSaveData

This commit is contained in:
wheremyfoodat 2023-09-13 22:49:25 +03:00
parent eade124f00
commit c48f8327c6
6 changed files with 64 additions and 2 deletions

View file

@ -0,0 +1,12 @@
#include <algorithm>
#include "fs/archive_system_save_data.hpp"
namespace fs = std::filesystem;
Rust::Result<ArchiveBase*, HorizonResult> SystemSaveDataArchive::openArchive(const FSPath& path) {
if (path.type != PathType::Empty) {
Helpers::panic("Unimplemented path type for SystemSaveData::OpenArchive");
}
return Ok((ArchiveBase*)this);
}