mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Create config directory in get_config_dir if it doesn't exist.
This commit is contained in:
parent
ed3695f704
commit
d514d135a7
|
@ -46,6 +46,9 @@ std::string get_config_dir()
|
|||
config /= ".config/snes9x";
|
||||
}
|
||||
|
||||
if (!fs::exists(config))
|
||||
fs::create_directories(config);
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue