From 4251958846c6fabb5b1909d8110aca56d3649d50 Mon Sep 17 00:00:00 2001 From: Ghabry Date: Mon, 3 Jun 2024 19:45:02 +0200 Subject: [PATCH] Wii U: Fix MakeDirectory logic Consider "/vol" a valid path --- src/platform.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/platform.cpp b/src/platform.cpp index ea799a96f72..01065026734 100644 --- a/src/platform.cpp +++ b/src/platform.cpp @@ -157,6 +157,13 @@ bool Platform::File::MakeDirectory(bool follow_symlinks) const { } } +#if defined(__WIIU__) + if (cur_path == "fs:/vol" || cur_path == "/vol") { + // /vol is part of the path but checking for existance fails + continue; + } +#endif + File cf(cur_path); if (cf.IsDirectory(follow_symlinks)) { continue;