Gtk: Create config directory in get_config_dir if it doesn't exist.

This commit is contained in:
BearOso 2024-06-18 15:38:21 -05:00
parent ed3695f704
commit d514d135a7
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ std::string get_config_dir()
config /= ".config/snes9x";
}
if (!fs::exists(config))
fs::create_directories(config);
return config;
}