From 787cac47db64f740fefcf2d992d7fdb829a198fa Mon Sep 17 00:00:00 2001 From: soft as HELL Date: Fri, 4 Oct 2019 19:01:17 +0300 Subject: [PATCH] Add delay to FileWriteAsync callback --- dll/steam_remote_storage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/steam_remote_storage.h b/dll/steam_remote_storage.h index 2840abb0..bc41d6e4 100644 --- a/dll/steam_remote_storage.h +++ b/dll/steam_remote_storage.h @@ -119,7 +119,7 @@ SteamAPICall_t FileWriteAsync( const char *pchFile, const void *pvData, uint32 c RemoteStorageFileWriteAsyncComplete_t data; data.m_eResult = success ? k_EResultOK : k_EResultFail; - return callback_results->addCallResult(data.k_iCallback, &data, sizeof(data)); + return callback_results->addCallResult(data.k_iCallback, &data, sizeof(data), 0.1); }