Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10265 from AdmiralCurtiss/create-riivolution-conf…
…ig-dir

RiivolutionParser: Create config xml directory if it does not exist yet.
  • Loading branch information
JosJuice committed Dec 12, 2021
2 parents f4e2d36 + ea17dd8 commit 45fac51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/DiscIO/RiivolutionParser.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 45fac51

Please sign in to comment.