Don't load custom configs when adding games
This commit is contained in:
@@ -848,8 +848,8 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||
m_title_id = psf::get_string(_psf, "TITLE_ID");
|
||||
m_cat = psf::get_string(_psf, "CATEGORY");
|
||||
|
||||
std::string version_app = psf::get_string(_psf, "APP_VER", "Unknown");
|
||||
std::string version_disc = psf::get_string(_psf, "VERSION", "Unknown");
|
||||
const std::string version_app = psf::get_string(_psf, "APP_VER", "Unknown");
|
||||
const std::string version_disc = psf::get_string(_psf, "VERSION", "Unknown");
|
||||
|
||||
if (!_psf.empty() && m_cat.empty())
|
||||
{
|
||||
@@ -862,7 +862,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||
sys_log.notice("Category: %s", GetCat());
|
||||
sys_log.notice("Version: %s / %s", version_app, version_disc);
|
||||
|
||||
if (!force_global_config)
|
||||
if (!add_only && !force_global_config)
|
||||
{
|
||||
const std::string config_path_new = GetCustomConfigPath(m_title_id);
|
||||
const std::string config_path_old = GetCustomConfigPath(m_title_id, true);
|
||||
|
||||
Reference in New Issue
Block a user