SSBM Decomp
|
#include <platform.h>
#include <dolphin/dvd/forward.h>
#include <dolphin/dvd/dvd.h>
#include <dolphin/dvd/dvdfs.h>
#include <dolphin/os.h>
#include <dolphin/os/OSBootInfo.h>
#include <dolphin/os/OSThread.h>
#include <MSL/ctype.h>
Macros | |
#define | entryIsDir(i) (((FstStart[i].isDirAndStringOff & 0xff000000) == 0) ? false : true) |
#define | stringOff(i) (FstStart[i].isDirAndStringOff & ~0xff000000) |
#define | parentDir(i) (FstStart[i].parentOrPosition) |
#define | nextDir(i) (FstStart[i].nextEntryOrLength) |
#define | filePosition(i) (FstStart[i].parentOrPosition) |
#define | fileLength(i) (FstStart[i].nextEntryOrLength) |
Functions | |
static void | cbForReadAsync (s32 result, DVDCommandBlock *block) |
void | __DVDFSInit (void) |
static bool | isSame (const char *path, const char *string) |
s32 | DVDConvertPathToEntrynum (const char *pathPtr) |
bool | DVDFastOpen (s32 entrynum, DVDFileInfo *fileInfo) |
bool | DVDClose (DVDFileInfo *fileInfo) |
bool | DVDReadAsyncPrio (DVDFileInfo *fileInfo, void *addr, s32 length, s32 offset, DVDCallback callback, s32 prio) |
Variables | |
static OSBootInfo * | BootInfo |
static FSTEntry * | FstStart |
static char * | FstStringStart |
static u32 | MaxEntryNum |
static u32 | currentDirectory = 0 |
OSThreadQueue | __DVDThreadQueue |
u32 | __DVDLongFileNameFlag = 0 |
#define stringOff | ( | i | ) | (FstStart[i].isDirAndStringOff & ~0xff000000) |
#define parentDir | ( | i | ) | (FstStart[i].parentOrPosition) |
#define nextDir | ( | i | ) | (FstStart[i].nextEntryOrLength) |
#define filePosition | ( | i | ) | (FstStart[i].parentOrPosition) |
#define fileLength | ( | i | ) | (FstStart[i].nextEntryOrLength) |
|
static |
void __DVDFSInit | ( | void | ) |
|
static |
s32 DVDConvertPathToEntrynum | ( | const char * | pathPtr | ) |
bool DVDFastOpen | ( | s32 | entrynum, |
DVDFileInfo * | fileInfo | ||
) |
bool DVDClose | ( | DVDFileInfo * | fileInfo | ) |
bool DVDReadAsyncPrio | ( | DVDFileInfo * | fileInfo, |
void * | addr, | ||
s32 | length, | ||
s32 | offset, | ||
DVDCallback | callback, | ||
s32 | prio | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
OSThreadQueue __DVDThreadQueue |
u32 __DVDLongFileNameFlag = 0 |