mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-30 20:51:49 +01:00
29 lines
684 B
C
29 lines
684 B
C
/****************************************************************************
|
|
* Visual Boy Advance GX
|
|
*
|
|
* Tantric September 2008
|
|
*
|
|
* dvd.h
|
|
*
|
|
* DVD I/O functions
|
|
***************************************************************************/
|
|
|
|
#ifndef _NGCDVD_
|
|
#define _NGCDVD_
|
|
|
|
bool MountDVD(bool silent);
|
|
int ParseDVDdirectory();
|
|
void SetDVDdirectory(u64 dir, int length);
|
|
bool SwitchDVDFolder(char dir[]);
|
|
|
|
int LoadDVDFileOffset(unsigned char *buffer, int length);
|
|
int LoadDVDFile(char * buffer, char *filepath, int datasize, bool silent);
|
|
int dvd_safe_read (void *dst, unsigned int len, u64 offset);
|
|
|
|
void SetDVDDriveType();
|
|
#ifdef HW_DOL
|
|
void dvd_motor_off ();
|
|
#endif
|
|
|
|
#endif
|