MCPcopy Create free account
hub / github.com/doldecomp/mkdd / open

Method open

libs/JSystem/JKernel/JKRDvdFile.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool JKRDvdFile::open(const char * fileName) {
34 if(!mFileOpen) {
35 mFileOpen = DVDOpen(fileName, &mDvdFileInfo);
36 if(mFileOpen) {
37 sDvdList.append(&mLink);
38 DVDGetCommandBlockStatus(&mDvdFileInfo.cb);
39 }
40 }
41 return mFileOpen;
42}
43
44bool JKRDvdFile::open(s32 entryNum) {
45 if(!mFileOpen) {

Callers 2

loadToAramMethod · 0.45
loadToMainRAMFunction · 0.45

Calls 4

DVDOpenFunction · 0.85
DVDGetCommandBlockStatusFunction · 0.85
DVDFastOpenFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected