mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Don't show override notification with appendconfig alone (#14624)
This commit is contained in:
parent
cd2392c559
commit
030c3cba44
@ -3899,6 +3899,7 @@ bool config_load_override(void *data)
|
||||
char content_dir_name[PATH_MAX_LENGTH];
|
||||
char config_directory[PATH_MAX_LENGTH];
|
||||
bool should_append = false;
|
||||
bool show_notification = true;
|
||||
rarch_system_info_t *system = (rarch_system_info_t*)data;
|
||||
const char *core_name = system ?
|
||||
system->info.library_name : NULL;
|
||||
@ -3951,7 +3952,10 @@ bool config_load_override(void *data)
|
||||
|
||||
/* Prevent "--appendconfig" from being ignored */
|
||||
if (!path_is_empty(RARCH_PATH_CONFIG_APPEND))
|
||||
{
|
||||
should_append = true;
|
||||
show_notification = false;
|
||||
}
|
||||
|
||||
/* per-core overrides */
|
||||
/* Create a new config file from core_path */
|
||||
@ -3978,6 +3982,7 @@ bool config_load_override(void *data)
|
||||
path_set(RARCH_PATH_CONFIG_APPEND, tmp_path);
|
||||
|
||||
should_append = true;
|
||||
show_notification = true;
|
||||
}
|
||||
|
||||
if (has_content)
|
||||
@ -4007,6 +4012,7 @@ bool config_load_override(void *data)
|
||||
path_set(RARCH_PATH_CONFIG_APPEND, tmp_path);
|
||||
|
||||
should_append = true;
|
||||
show_notification = true;
|
||||
}
|
||||
|
||||
/* per-game overrides */
|
||||
@ -4034,6 +4040,7 @@ bool config_load_override(void *data)
|
||||
path_set(RARCH_PATH_CONFIG_APPEND, tmp_path);
|
||||
|
||||
should_append = true;
|
||||
show_notification = true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -4051,7 +4058,8 @@ bool config_load_override(void *data)
|
||||
path_get(RARCH_PATH_CONFIG), settings))
|
||||
return false;
|
||||
|
||||
if (settings->bools.notification_show_config_override_load)
|
||||
if (settings->bools.notification_show_config_override_load
|
||||
&& show_notification)
|
||||
runloop_msg_queue_push(msg_hash_to_str(MSG_CONFIG_OVERRIDE_LOADED),
|
||||
1, 100, false,
|
||||
NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user