mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-28 04:52:35 +02:00
RiivolutionParser: Create config xml directory if it does not exist yet.
This commit is contained in:
parent
f4e2d369c0
commit
ea17dd8dba
@ -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…
Reference in New Issue
Block a user