MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / iFileReadAsyncStatus

Function iFileReadAsyncStatus

src/SB/Core/gc/iFile.cpp:284–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284IFILE_READSECTOR_STATUS iFileReadAsyncStatus(S32 key, S32* amtToFar)
285{
286 if (key != file_queue[key & 0x3].asynckey)
287 {
288 return IFILE_RDSTAT_EXPIRED;
289 }
290
291 if (amtToFar)
292 {
293 *amtToFar = file_queue[key & 0x3].offset;
294 }
295
296 return file_queue[key & 0x3].stat;
297}
298
299U32 iFileClose(tag_xFile* file)
300{

Callers 2

iCSAsyncReadCBFunction · 0.85
xFileReadAsyncStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected