2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-10-16 03:52:18 +02:00
|
|
|
* Snes9x 1.50
|
|
|
|
*
|
|
|
|
* Nintendo Gamecube DVD
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* softdev July 2006
|
|
|
|
* svpe & crunchy2 June 2007
|
2008-10-16 03:52:18 +02:00
|
|
|
****************************************************************************/
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-10-16 03:52:18 +02:00
|
|
|
#ifndef _NGCDVD_
|
|
|
|
#define _NGCDVD_
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-10-16 03:52:18 +02:00
|
|
|
#define MAXJOLIET 255
|
|
|
|
#define MAXDISPLAY 54
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
u64 offset;
|
|
|
|
unsigned int length;
|
|
|
|
char flags;
|
|
|
|
char filename[MAXJOLIET + 1];
|
|
|
|
char displayname[MAXDISPLAY + 1];
|
|
|
|
} FILEENTRIES;
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-10-16 03:52:18 +02:00
|
|
|
extern u64 rootdir;
|
|
|
|
extern int rootdirlength;
|
|
|
|
#define MAXFILES 2000 /** Restrict to 2000 files per dir **/
|
|
|
|
|
|
|
|
extern int getpvd ();
|
|
|
|
extern int parsedirectory ();
|
|
|
|
extern FILEENTRIES filelist[MAXFILES];
|
|
|
|
|
|
|
|
int dvd_driveid();
|
|
|
|
|
|
|
|
int dvd_read (void *dst, unsigned int len, u64 offset);
|
|
|
|
extern void dvd_motor_off ();
|
2008-10-14 11:21:34 +02:00
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#endif
|