From c7fd4ba158a1d1d4ae18eaf1176fd0003a827bae Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 5 Jul 2020 18:46:38 -0400 Subject: [PATCH] FileReadAsync should be as fast as possible. --- 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 72c4bb9..5aa6742 100644 --- a/dll/steam_remote_storage.h +++ b/dll/steam_remote_storage.h @@ -144,7 +144,7 @@ SteamAPICall_t FileReadAsync( const char *pchFile, uint32 nOffset, uint32 cubToR a_read.size = size; async_reads.push_back(a_read); - callback_results->addCallResult(data.m_hFileReadAsync, data.k_iCallback, &data, sizeof(data)); + callback_results->addCallResult(data.m_hFileReadAsync, data.k_iCallback, &data, sizeof(data), 0.0); return data.m_hFileReadAsync; }