This commit is contained in:
libretroadmin 2024-07-20 19:46:34 +02:00
parent afc9cb509a
commit 857d1e4ddb
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ bool cloud_sync_end(cloud_sync_complete_handler_t cb, void *user_data);
bool cloud_sync_read(const char *path, const char *file, cloud_sync_complete_handler_t cb, void *user_data);
bool cloud_sync_update(const char *path, RFILE *file, cloud_sync_complete_handler_t cb, void *user_data);
bool cloud_sync_delete(const char *path, cloud_sync_complete_handler_t cb, void *user_data);
bool cloud_sync_free(const char *path, cloud_sync_complete_handler_t cb, void *user_data);
RETRO_END_DECLS

View File

@ -778,7 +778,7 @@ static void task_cloud_sync_delete_server_file(task_cloud_sync_state_t *sync_sta
RARCH_LOG(CSPFX "deleting %s\n", key);
sync_state->waiting = true;
if (!cloud_sync_delete(key, task_cloud_sync_delete_cb, sync_state))
if (!cloud_sync_free(key, task_cloud_sync_delete_cb, sync_state))
{
/* if the delete fails, resurrect the hash from the last sync */
size_t idx;