2008-09-02 03:57:21 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* FCE Ultra 0.98.12
|
|
|
|
* Nintendo Wii/Gamecube Port
|
|
|
|
*
|
2009-03-28 18:23:08 +01:00
|
|
|
* softdev July 2006
|
|
|
|
* svpe & crunchy2 June 2007
|
|
|
|
* Tantric 2008-2009
|
2008-09-02 03:57:21 +02:00
|
|
|
*
|
|
|
|
* dvd.h
|
|
|
|
*
|
|
|
|
* DVD loading routines
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _DVD_H_
|
|
|
|
#define _DVD_H_
|
|
|
|
|
2008-12-19 23:04:55 +01:00
|
|
|
bool MountDVD(bool silent);
|
2008-12-30 01:05:57 +01:00
|
|
|
int ParseDVDdirectory();
|
|
|
|
void SetDVDdirectory(u64 dir, int length);
|
|
|
|
bool SwitchDVDFolder(char dir[]);
|
|
|
|
|
2008-11-12 09:40:09 +01:00
|
|
|
int LoadDVDFileOffset(unsigned char *buffer, int length);
|
|
|
|
int LoadDVDFile(char * buffer, char *filepath, int datasize, bool silent);
|
2008-10-13 20:15:03 +02:00
|
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
2008-12-30 01:05:57 +01:00
|
|
|
|
2008-12-19 23:04:55 +01:00
|
|
|
void SetDVDDriveType();
|
2008-10-14 11:21:58 +02:00
|
|
|
#ifdef HW_DOL
|
|
|
|
void dvd_motor_off ();
|
|
|
|
#endif
|
|
|
|
|
2008-09-02 03:57:21 +02:00
|
|
|
#endif
|