mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 12:41:09 +00:00
Merge pull request #10265 from AdmiralCurtiss/create-riivolution-config-dir
RiivolutionParser: Create config xml directory if it does not exist yet.
This commit is contained in:
commit
45fac5137b
@ -481,6 +481,7 @@ bool WriteConfigFile(const std::string& filename, const Config& config)
|
|||||||
if (xml.empty())
|
if (xml.empty())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
::File::CreateFullPath(filename);
|
||||||
::File::IOFile f(filename, "wb");
|
::File::IOFile f(filename, "wb");
|
||||||
if (!f)
|
if (!f)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user