mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
make sure overrides aren't used in conjunction with per-core configs
This commit is contained in:
parent
573447166b
commit
51ee494a67
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user