FileReadAsync should be as fast as possible.

merge-requests/32/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ SteamAPICall_t FileReadAsync( const char *pchFile, uint32 nOffset, uint32 cubToR
a_read.size = size; a_read.size = size;
async_reads.push_back(a_read); 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; return data.m_hFileReadAsync;
} }