2008-09-16 05:42:21 +00:00
|
|
|
/****************************************************************************
|
2008-09-17 02:27:55 +00:00
|
|
|
* Visual Boy Advance GX
|
2008-09-16 05:42:21 +00:00
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* dvd.h
|
|
|
|
*
|
|
|
|
* DVD I/O functions
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _NGCDVD_
|
|
|
|
#define _NGCDVD_
|
|
|
|
|
2008-12-18 18:58:30 +00:00
|
|
|
bool MountDVD(bool silent);
|
2008-12-30 00:10:12 +00:00
|
|
|
int ParseDVDdirectory();
|
|
|
|
void SetDVDdirectory(u64 dir, int length);
|
|
|
|
bool SwitchDVDFolder(char dir[]);
|
|
|
|
|
2008-11-12 07:53:25 +00:00
|
|
|
int LoadDVDFileOffset(unsigned char *buffer, int length);
|
|
|
|
int LoadDVDFile(char * buffer, char *filepath, int datasize, bool silent);
|
2008-10-15 07:09:07 +00:00
|
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
2008-12-30 00:10:12 +00:00
|
|
|
|
2008-09-16 05:42:21 +00:00
|
|
|
void SetDVDDriveType();
|
2008-10-15 07:09:07 +00:00
|
|
|
#ifdef HW_DOL
|
|
|
|
void dvd_motor_off ();
|
|
|
|
#endif
|
|
|
|
|
2008-09-16 05:42:21 +00:00
|
|
|
#endif
|