#include "fs/archive_sdmc.hpp" #include 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 SDMCArchive::openArchive(const FSPath& path) { printf("SDMCArchive::OpenArchive: Failed\n"); return Ok((ArchiveBase*)nullptr); } std::optional SDMCArchive::readFile(FileSession* file, u64 offset, u32 size, u32 dataPointer) { printf("SDMCArchive::ReadFile: Failed\n"); return std::nullopt; }