Logging config file writes in all places where it was not done so far. (#16311)

This commit is contained in:
zoltanvb 2024-03-03 17:09:46 +01:00 committed by GitHub
parent 8e57273593
commit 82ad6a0320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -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);
}
}

View File

@ -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
{

View File

@ -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,