per game config.yml (#2418)

This commit is contained in:
georgemoralis 2017-02-23 17:08:52 +02:00 committed by Ivan
parent 5fce74a2a6
commit 3e0c356b0b
6 changed files with 9 additions and 9 deletions

View file

@ -229,9 +229,9 @@ void Emulator::Load()
}
// Load custom config-1
if (fs::file cfg_file{m_cache_path + "config.yml"})
if (fs::file cfg_file{ fs::get_config_dir() + "data/" + m_title_id + "/config.yml" })
{
LOG_NOTICE(LOADER, "Applying custom config (config.yml)");
LOG_NOTICE(LOADER, "Applying custom config %s", fs::get_config_dir() + "data/" + m_title_id + "/config.yml");
cfg::root.from_string(cfg_file.to_string());
}