Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[common/fs] create XDG_DATA_{HOME,CACHE,CONFIG}_HOME if we are the first application to ever be ran or they dont exist for a reason (#4087)

lizzie4edb1ac6c5de
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index 93d2300ed1..e980fd1bbe 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -90,7 +90,7 @@ public:
void CreateEdenPaths() {
std::for_each(eden_paths.begin(), eden_paths.end(), [](auto &path) {
- void(FS::CreateDir(path.second));
+ void(FS::CreateDirs(path.second));
});
}