mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Reinit after updating autoconf profiles (#15611)
This commit is contained in:
parent
9ae1a5fbee
commit
ed4e7abeb1
@ -4671,6 +4671,7 @@ static void cb_decompressed(retro_task_t *task,
|
|||||||
switch (enum_idx)
|
switch (enum_idx)
|
||||||
{
|
{
|
||||||
case MENU_ENUM_LABEL_CB_UPDATE_ASSETS:
|
case MENU_ENUM_LABEL_CB_UPDATE_ASSETS:
|
||||||
|
case MENU_ENUM_LABEL_CB_UPDATE_AUTOCONFIG_PROFILES:
|
||||||
generic_action_ok_command(CMD_EVENT_REINIT);
|
generic_action_ok_command(CMD_EVENT_REINIT);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -5120,13 +5121,19 @@ void cb_generic_download(retro_task_t *task,
|
|||||||
finish:
|
finish:
|
||||||
if (err)
|
if (err)
|
||||||
{
|
{
|
||||||
RARCH_ERR("Download of '%s' failed: %s\n",
|
RARCH_ERR("[Updater]: Download of \"%s\" failed: %s\n",
|
||||||
(transf ? transf->path : msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UNKNOWN)), err);
|
(transf ? transf->path : msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UNKNOWN)), err);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
RARCH_LOG("[Updater]: Download \"%s\".\n",
|
||||||
|
(transf ? transf->path : msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UNKNOWN)));
|
||||||
|
|
||||||
#ifdef HAVE_DISCORD
|
#ifdef HAVE_DISCORD
|
||||||
else if (transf && transf->enum_idx == MENU_ENUM_LABEL_CB_DISCORD_AVATAR)
|
if (transf && transf->enum_idx == MENU_ENUM_LABEL_CB_DISCORD_AVATAR)
|
||||||
discord_avatar_set_ready(true);
|
discord_avatar_set_ready(true);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
if (transf)
|
if (transf)
|
||||||
free(transf);
|
free(transf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user