Make filesystem decent, part 1 (#677)

This commit is contained in:
wheremyfoodat 2024-12-10 00:29:56 +02:00 committed by GitHub
parent 6be642a118
commit 79d24cba11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 95 additions and 56 deletions

View file

@ -26,7 +26,7 @@ FileDescriptor TWLSoundArchive::openFile(const FSPath& path, const FilePerms& pe
}
Rust::Result<ArchiveBase*, HorizonResult> TWLSoundArchive::openArchive(const FSPath& path) {
if (path.type != PathType::Empty) {
if (!path.isEmptyType()) {
Helpers::panic("Unimplemented path type for TWLSoundArchive::OpenArchive");
}