FileReadAsync should be as fast as possible.
parent
a32bba8c68
commit
c7fd4ba158
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue