mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-07 12:44:49 +12:00
Start implementing SystemSaveData
This commit is contained in:
parent
eade124f00
commit
c48f8327c6
6 changed files with 64 additions and 2 deletions
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue