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

Function iCSFileAsyncRead

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

Source from the content-addressed store, hash-verified

178}
179
180void iCSFileAsyncRead(xCutscene* csn, void* dest, U32 size)
181{
182 U32* buf = (U32*)dest;
183 U32 i;
184
185 read_sizzze = size;
186 csn->Waiting = 1;
187
188 for (i = 0; i < size / 4; i++)
189 {
190 buf[i] = 0xDEADBEEF;
191 }
192
193 iFileReadAsync(&csn->File, dest, size, iCSAsyncReadCB, 0);
194}
195
196void iCSFileAsyncSkip(xCutscene* csn, U32 amount)
197{

Callers 2

iCSLoadStepFunction · 0.70
xCutscene_UpdateFunction · 0.50

Calls 1

iFileReadAsyncFunction · 0.70

Tested by

no test coverage detected