mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-30 22:44:22 +01:00
38 lines
802 B
C
38 lines
802 B
C
|
/****************************************************************************
|
||
|
* 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 ();
|
||
|
|
||
|
#endif
|