snes9xgx/source/ngc/dvd.h

38 lines
802 B
C
Raw Permalink Normal View History

/****************************************************************************
* Snes9x 1.50
*
* Nintendo Gamecube DVD
*
* softdev July 2006
* svpe & crunchy2 June 2007
****************************************************************************/
#ifndef _NGCDVD_
#define _NGCDVD_
#define MAXJOLIET 255
#define MAXDISPLAY 54
typedef struct
{
u64 offset;
unsigned int length;
char flags;
char filename[MAXJOLIET + 1];
char displayname[MAXDISPLAY + 1];
} FILEENTRIES;
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
#endif