Buildfix
This commit is contained in:
parent
afc9cb509a
commit
857d1e4ddb
|
@ -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_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_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
|
RETRO_END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -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);
|
RARCH_LOG(CSPFX "deleting %s\n", key);
|
||||||
|
|
||||||
sync_state->waiting = true;
|
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 */
|
/* if the delete fails, resurrect the hash from the last sync */
|
||||||
size_t idx;
|
size_t idx;
|
||||||
|
|
Loading…
Reference in New Issue