diff --git a/src/core/fs/archive_system_save_data.cpp b/src/core/fs/archive_system_save_data.cpp index eb572d90..37afb431 100644 --- a/src/core/fs/archive_system_save_data.cpp +++ b/src/core/fs/archive_system_save_data.cpp @@ -145,7 +145,8 @@ HorizonResult SystemSaveDataArchive::deleteFile(const FSPath& path) { Rust::Result SystemSaveDataArchive::openDirectory(const FSPath& path) { if (path.type == PathType::UTF16) { if (!isPathSafe(path)) { - Helpers::panic("Unsafe path in SystemSaveData::OpenDirectory"); + Helpers::warn("Unsafe path in SystemSaveData::OpenDirectory"); + return Err(Result::FS::FileNotFoundAlt); } fs::path p = IOFile::getAppData() / ".." / "SharedFiles" / "SystemSaveData";