mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[FS] Add DeleteFile
This commit is contained in:
parent
a1cb50925f
commit
687c99cab6
13 changed files with 84 additions and 6 deletions
|
@ -24,6 +24,11 @@ CreateFileResult NCCHArchive::createFile(const FSPath& path, u64 size) {
|
|||
return CreateFileResult::Success;
|
||||
}
|
||||
|
||||
DeleteFileResult NCCHArchive::deleteFile(const FSPath& path) {
|
||||
Helpers::panic("[NCCH] Unimplemented DeleteFile");
|
||||
return DeleteFileResult::Success;
|
||||
}
|
||||
|
||||
FileDescriptor NCCHArchive::openFile(const FSPath& path, const FilePerms& perms) {
|
||||
if (path.type != PathType::Binary || path.binary.size() != 20) {
|
||||
Helpers::panic("NCCHArchive::OpenFile: Invalid path");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue