mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-13 03:40:44 +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())
|
||||
return false;
|
||||
|
||||
::File::CreateFullPath(filename);
|
||||
::File::IOFile f(filename, "wb");
|
||||
if (!f)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user