mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
33 lines
823 B
C
33 lines
823 B
C
/****************************************************************************
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
|
*
|
|
* softdev July 2006
|
|
* svpe & crunchy2 June 2007
|
|
* Tantric September 2008
|
|
*
|
|
* dvd.h
|
|
*
|
|
* DVD I/O functions
|
|
***************************************************************************/
|
|
|
|
#ifndef _NGCDVD_
|
|
#define _NGCDVD_
|
|
|
|
int getpvd ();
|
|
bool MountDVD(bool silent);
|
|
int ParseDVDdirectory ();
|
|
int LoadDVDFileOffset(unsigned char *buffer, int length);
|
|
int LoadDVDFile(char * buffer, char *filepath, int datasize, bool silent);
|
|
int dvd_read (void *dst, unsigned int len, u64 offset);
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
|
bool SwitchDVDFolder(char dir[]);
|
|
void SetDVDDriveType();
|
|
#ifdef HW_DOL
|
|
void dvd_motor_off ();
|
|
#endif
|
|
|
|
extern u64 dvddir;
|
|
extern int dvddirlength;
|
|
|
|
#endif
|