make sure overrides aren't used in conjunction with per-core configs

This commit is contained in:
radius 2015-04-07 22:08:30 -05:00
parent 573447166b
commit 51ee494a67

View File

@ -1701,6 +1701,11 @@ bool config_load_override(void)
// If a core override exists, add it's location to append_config_path
if (new_conf)
{
if (settings->core_specific_config)
{
RARCH_LOG("Can't use overrides in conjunction with per-core configs, disabling overrides \n");
return false;
}
RARCH_LOG("Core-specific overrides found at %s. Appending.\n", core_path);
strlcpy(global->append_config_path, core_path, sizeof(global->append_config_path));
should_append = true;
@ -1716,6 +1721,11 @@ bool config_load_override(void)
// If a game override exists, add it's location to append_config_path
if (new_conf)
{
if (settings->core_specific_config)
{
RARCH_LOG("Can't use overrides in conjunction with per-core configs, disabling overrides \n");
return false;
}
RARCH_LOG("Game-specific overrides found at %s. Appending.\n", game_path);
if(should_append)
{