Start implementing SystemSaveData
This commit is contained in:
12
src/core/fs/archive_system_save_data.cpp
Normal file
12
src/core/fs/archive_system_save_data.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user