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

Function __DVDFSInit

src/dolphin/src/dvd/dvdfs.c:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27static void cbForPrepareStreamSync(s32 result, DVDCommandBlock* block);
28
29void __DVDFSInit()
30{
31 BootInfo = (OSBootInfo*)OSPhysicalToCached(0);
32 FstStart = (FSTEntry*)BootInfo->FSTLocation;
33
34 if (FstStart)
35 {
36 MaxEntryNum = FstStart[0].nextEntryOrLength;
37 FstStringStart = (char*)&(FstStart[MaxEntryNum]);
38 }
39}
40
41/* For convenience */
42#define entryIsDir(i) (((FstStart[i].isDirAndStringOff & 0xff000000) == 0) ? FALSE : TRUE)

Callers 2

DVDInitFunction · 0.85
cbForStateReadingFSTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected