2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-09-12 07:28:40 +02:00
|
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* softdev July 2006
|
|
|
|
* svpe & crunchy2 June 2007
|
2008-09-12 07:28:40 +02:00
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* dvd.h
|
|
|
|
*
|
|
|
|
* DVD I/O functions
|
|
|
|
***************************************************************************/
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-12-18 19:36:30 +01:00
|
|
|
#ifndef _NGCDVD_
|
|
|
|
#define _NGCDVD_
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-08-12 05:25:16 +02:00
|
|
|
int getpvd ();
|
2008-12-18 19:36:30 +01:00
|
|
|
bool MountDVD(bool silent);
|
2008-08-12 05:25:16 +02:00
|
|
|
int ParseDVDdirectory ();
|
2008-11-12 08:50:39 +01:00
|
|
|
int LoadDVDFileOffset(unsigned char *buffer, int length);
|
|
|
|
int LoadDVDFile(char * buffer, char *filepath, int datasize, bool silent);
|
2008-08-06 03:09:59 +02:00
|
|
|
int dvd_read (void *dst, unsigned int len, u64 offset);
|
2008-10-14 11:21:34 +02:00
|
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
2008-08-16 02:02:08 +02:00
|
|
|
bool SwitchDVDFolder(char dir[]);
|
2008-09-10 07:57:37 +02:00
|
|
|
void SetDVDDriveType();
|
2008-09-28 05:12:15 +02:00
|
|
|
#ifdef HW_DOL
|
|
|
|
void dvd_motor_off ();
|
|
|
|
#endif
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2008-10-14 11:21:34 +02:00
|
|
|
extern u64 dvddir;
|
|
|
|
extern int dvddirlength;
|
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#endif
|