diff --git a/Core/Config.cpp b/Core/Config.cpp index 5b2779e13a..3ac1112b20 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1607,10 +1607,7 @@ const Path Config::FindConfigFile(const std::string &baseFilename) { if (!File::Exists(filename)) { // Make sure at least the directory it's supposed to be in exists. Path path = filename.NavigateUp(); - if (createdPath_ != path) { - File::CreateFullPath(path); - createdPath_ = path; - } + File::CreateFullPath(path); } return filename; } diff --git a/Core/Config.h b/Core/Config.h index d7500b7d6c..49211f29db 100644 --- a/Core/Config.h +++ b/Core/Config.h @@ -538,7 +538,6 @@ private: Path controllerIniFilename_; std::vector searchPath_; Path defaultPath_; - Path createdPath_; }; std::map> GetLangValuesMapping();