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

Function iCSAsyncReadCB

src/SB/Core/gc/iCutscene.cpp:133–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static void iCSAsyncReadCB(tag_xFile* file)
134{
135 S32 bytes;
136 xCutscene* csn;
137
138 if (file)
139 {
140 if (iFileReadAsyncStatus(file->ps.asynckey, &bytes) == IFILE_RDSTAT_DONE)
141 {
142 iFileSeek(file, bytes, IFILE_SEEK_CUR);
143 }
144
145 csn = xCutscene_CurrentCutscene();
146 csn->Waiting = 0;
147 }
148}
149
150U32 iCSFileOpen(xCutscene* csn)
151{

Callers

nothing calls this directly

Calls 3

iFileReadAsyncStatusFunction · 0.85
iFileSeekFunction · 0.70

Tested by

no test coverage detected