mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
[FS] OpenArchiveHandle returns Result<T, E>
This commit is contained in:
parent
b817c72a9c
commit
2f5bb45d58
3 changed files with 10 additions and 10 deletions
|
@ -18,7 +18,7 @@ FileDescriptor SDMCArchive::openFile(const FSPath& path, const FilePerms& perms)
|
|||
|
||||
Rust::Result<ArchiveBase*, FSResult> SDMCArchive::openArchive(const FSPath& path) {
|
||||
printf("SDMCArchive::OpenArchive: Failed\n");
|
||||
return Ok((ArchiveBase*)nullptr);
|
||||
return Err(FSResult::NotFormatted);
|
||||
}
|
||||
|
||||
std::optional<u32> SDMCArchive::readFile(FileSession* file, u64 offset, u32 size, u32 dataPointer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue