mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-10 06:38:34 +01:00
FileReadAsync should be as fast as possible.
This commit is contained in:
parent
a32bba8c68
commit
c7fd4ba158
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue