mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
27 lines
No EOL
822 B
C++
27 lines
No EOL
822 B
C++
#include "fs/archive_sdmc.hpp"
|
|
#include <memory>
|
|
|
|
FSResult SDMCArchive::createFile(const FSPath& path, u64 size) {
|
|
Helpers::panic("[SDMC] CreateFile not yet supported");
|
|
return FSResult::Success;
|
|
}
|
|
|
|
FSResult SDMCArchive::deleteFile(const FSPath& path) {
|
|
Helpers::panic("[SDMC] Unimplemented DeleteFile");
|
|
return FSResult::Success;
|
|
}
|
|
|
|
FileDescriptor SDMCArchive::openFile(const FSPath& path, const FilePerms& perms) {
|
|
printf("SDMCArchive::OpenFile: Failed");
|
|
return FileError;
|
|
}
|
|
|
|
Rust::Result<ArchiveBase*, FSResult> SDMCArchive::openArchive(const FSPath& path) {
|
|
printf("SDMCArchive::OpenArchive: Failed\n");
|
|
return Ok((ArchiveBase*)nullptr);
|
|
}
|
|
|
|
std::optional<u32> SDMCArchive::readFile(FileSession* file, u64 offset, u32 size, u32 dataPointer) {
|
|
printf("SDMCArchive::ReadFile: Failed\n");
|
|
return std::nullopt;
|
|
} |