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

Function iFileClose

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

Source from the content-addressed store, hash-verified

297}
298
299U32 iFileClose(tag_xFile* file)
300{
301 tag_iFile* ps = &file->ps;
302 S32 ret;
303
304 ret = DVDClose(&file->ps.fileInfo);
305 ret = DVDClose(&file->ps.fileInfo);
306
307 if (!ret)
308 {
309 return 1;
310 }
311
312 ps->flags = 0;
313 return 0;
314}
315
316U32 iFileGetSize(tag_xFile* file)
317{

Callers 3

iFileLoadFunction · 0.70
BFD_closeFunction · 0.50
BFD_startSectorFunction · 0.50

Calls 1

DVDCloseFunction · 0.85

Tested by

no test coverage detected