2008-09-16 07:42:21 +02:00
|
|
|
/****************************************************************************
|
2008-09-17 04:27:55 +02:00
|
|
|
* Visual Boy Advance GX
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* dvd.h
|
|
|
|
*
|
|
|
|
* DVD I/O functions
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _NGCDVD_
|
|
|
|
#define _NGCDVD_
|
|
|
|
|
|
|
|
int getpvd ();
|
|
|
|
int ParseDVDdirectory ();
|
2008-09-29 09:35:26 +02:00
|
|
|
int LoadDVDFile (unsigned char *buffer, int length);
|
2008-09-16 07:42:21 +02:00
|
|
|
bool TestDVD();
|
|
|
|
int dvd_read (void *dst, unsigned int len, u64 offset);
|
2008-10-15 09:09:07 +02:00
|
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
2008-09-16 07:42:21 +02:00
|
|
|
bool SwitchDVDFolder(char dir[]);
|
|
|
|
void SetDVDDriveType();
|
2008-10-15 09:09:07 +02:00
|
|
|
#ifdef HW_DOL
|
|
|
|
void dvd_motor_off ();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern u64 dvddir;
|
|
|
|
extern int dvddirlength;
|
2008-09-16 07:42:21 +02:00
|
|
|
|
|
|
|
#endif
|