RiivolutionParser: Create config xml directory if it does not exist yet.

This commit is contained in:
Admiral H. Curtiss 2021-12-05 17:37:18 +01:00
parent f4e2d369c0
commit ea17dd8dba
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 0 deletions

View File

@ -481,6 +481,7 @@ bool WriteConfigFile(const std::string& filename, const Config& config)
if (xml.empty())
return false;
::File::CreateFullPath(filename);
::File::IOFile f(filename, "wb");
if (!f)
return false;