mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 13:25:51 +12:00
Moar filesystem
This commit is contained in:
parent
712be4ce72
commit
88eebbcbae
7 changed files with 124 additions and 9 deletions
|
@ -6,7 +6,7 @@ class SystemSaveDataArchive : public ArchiveBase {
|
|||
SystemSaveDataArchive(Memory& mem) : ArchiveBase(mem) {}
|
||||
|
||||
u64 getFreeBytes() override {
|
||||
Helpers::panic("Unimplemented GetFreeBytes for SystemSaveData archive");
|
||||
Helpers::warn("Unimplemented GetFreeBytes for SystemSaveData archive");
|
||||
return 32_MB;
|
||||
}
|
||||
|
||||
|
@ -14,14 +14,10 @@ class SystemSaveDataArchive : public ArchiveBase {
|
|||
|
||||
//HorizonResult createDirectory(const FSPath& path) override;
|
||||
HorizonResult createFile(const FSPath& path, u64 size) override;
|
||||
|
||||
HorizonResult deleteFile(const FSPath& path) override {
|
||||
Helpers::panic("Unimplemented DeleteFile for SystemSaveData archive");
|
||||
return Result::Success;
|
||||
};
|
||||
HorizonResult deleteFile(const FSPath& path) override;
|
||||
|
||||
Rust::Result<ArchiveBase*, HorizonResult> openArchive(const FSPath& path) override;
|
||||
//Rust::Result<DirectorySession, HorizonResult> openDirectory(const FSPath& path) override;
|
||||
Rust::Result<DirectorySession, HorizonResult> openDirectory(const FSPath& path) override;
|
||||
|
||||
FileDescriptor openFile(const FSPath& path, const FilePerms& perms) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue