FileReadAsync should be as fast as possible.

This commit is contained in:
Mr_Goldberg 2020-07-05 18:46:38 -04:00
parent a32bba8c68
commit c7fd4ba158
No known key found for this signature in database
GPG key ID: 8597D87419DEF278

View file

@ -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;
}