From 079ef42a400f090978e4359490db5079e733c144 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Thu, 15 Aug 2024 18:27:09 -0400 Subject: [PATCH] cloud sync: fix bug from #16871 (#16879) https://github.com/libretro/RetroArch/pull/16871/files#r1715823706 --- tasks/task_cloudsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_cloudsync.c b/tasks/task_cloudsync.c index 4950f09def..ba5a0d9051 100644 --- a/tasks/task_cloudsync.c +++ b/tasks/task_cloudsync.c @@ -641,7 +641,7 @@ static void task_cloud_sync_upload_cb(void *user_data, const char *path, bool su } slock_lock(tcs_running_lock); - sync_state->waiting++; + sync_state->waiting--; slock_unlock(tcs_running_lock); }