mirror of
https://github.com/libretro/RetroArch
synced 2025-02-14 15:39:59 +00:00
Logging config file writes in all places where it was not done so far. (#16311)
This commit is contained in:
parent
8e57273593
commit
82ad6a0320
@ -5082,6 +5082,7 @@ bool config_save_autoconf_profile(const
|
||||
}
|
||||
}
|
||||
|
||||
RARCH_LOG("[Autoconf]: Writing autoconf file for device \"%s\" to \"%s\".\n", device_name, autoconf_file);
|
||||
ret = config_file_write(conf, autoconf_file, false);
|
||||
|
||||
end:
|
||||
|
@ -180,6 +180,7 @@ static void salamander_init(char *s, size_t len)
|
||||
{
|
||||
config_set_path(config, "libretro_path", s);
|
||||
config_file_write(config, config_path, false);
|
||||
RARCH_DBG("Salamander config file written to \"%s\".\n", config_path);
|
||||
config_file_free(config);
|
||||
}
|
||||
}
|
||||
|
@ -3683,12 +3683,16 @@ static int generic_action_ok_remap_file_operation(const char *path,
|
||||
msg_hash_to_str(MSG_REMAP_FILE_SAVED_SUCCESSFULLY),
|
||||
1, 100, true,
|
||||
NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
|
||||
RARCH_LOG("[Remap]: File saved successfully: \"%s\".\n",remap_file_path);
|
||||
}
|
||||
else
|
||||
{
|
||||
runloop_msg_queue_push(
|
||||
msg_hash_to_str(MSG_ERROR_SAVING_REMAP_FILE),
|
||||
1, 100, true,
|
||||
NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
|
||||
RARCH_ERR("[Remap]: File save unsuccessful: \"%s\".\n",remap_file_path);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -4962,6 +4962,7 @@ bool core_options_create_override(bool game_specific)
|
||||
if (!config_file_write(conf, options_path, true))
|
||||
goto error;
|
||||
|
||||
RARCH_LOG("[Core]: Core options file created successfully: \"%s\".\n", options_path);
|
||||
runloop_msg_queue_push(
|
||||
msg_hash_to_str(MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY),
|
||||
1, 100, true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user