From 958ef14055fba04f738c55d8f4511821bef2fbe3 Mon Sep 17 00:00:00 2001 From: camdenorrb Date: Sat, 14 Dec 2024 20:18:49 -0600 Subject: [PATCH] Save config --- Source/Core/Common/IniFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index 1b9a823e8e..1fbb8cd6a6 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -323,7 +323,7 @@ bool IniFile::Save(const std::string& filename) std::filesystem::path path(filename); std::filesystem::path parentPath = path.parent_path(); - if (!exists(parentPath) && !create_directory(parentPath)) { + if (!exists(parentPath) && !create_directories(parentPath)) { std::cerr << "Failed to create directory: " << parentPath << std::endl; }