mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-01 04:51:49 +01:00
pergameconfig : create directory if not exists
This commit is contained in:
parent
3e0c356b0b
commit
e153df4d5b
@ -230,6 +230,10 @@ void GameViewer::ConfigureGame(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
long i = GetFirstSelected();
|
||||
if (i < 0) return;
|
||||
if (!fs::exists(fs::get_config_dir() + "data/" + m_game_data[i].root))
|
||||
{
|
||||
fs::create_dir(fs::get_config_dir() + "data/" + m_game_data[i].root);
|
||||
}
|
||||
SettingsDialog(this, fs::get_config_dir() + "data/" + m_game_data[i].root + "/config.yml");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user