source: ps2launchargs/source/uLaunchELF/cd.h@ 1161

Last change on this file since 1161 was 1101, checked in by iritscen, 7 years ago

Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.

  • Property svn:executable set to *
File size: 955 bytes
RevLine 
[1101]1#ifndef CD_H
2#define CD_H
3
4#define CDVD_INIT_INIT 0x00
5#define CDVD_INIT_NOCHECK 0x01
6#define CDVD_INIT_EXIT 0x05
7
8typedef enum {
9 CDVD_TYPE_NODISK = 0x00, // No Disc inserted
10 CDVD_TYPE_DETECT, // Detecting disc type
11 CDVD_TYPE_DETECT_CD,
12 CDVD_TYPE_DETECT_DVDSINGLE,
13 CDVD_TYPE_DETECT_DVDDUAL,
14 CDVD_TYPE_UNKNOWN, // Unknown disc type
15
16 CDVD_TYPE_PS1CD = 0x10, // PS1 CD with no CDDA tracks
17 CDVD_TYPE_PS1CDDA, // PS1 CD with CDDA tracks
18 CDVD_TYPE_PS2CD, // PS2 CD with no CDDA tracks
19 CDVD_TYPE_PS2CDDA, // PS2 CD with CDDA tracks
20 CDVD_TYPE_PS2DVD, // PS2 DVD
21 CDVD_TYPE_ESRDVD_0, // ESR-patched DVD, as seen without ESR driver active
22 CDVD_TYPE_ESRDVD_1, // ESR-patched DVD, as seen with ESR driver active
23
24 CDVD_TYPE_CDDA = 0xFD, // CDDA
25 CDVD_TYPE_DVDVIDEO, // DVD Video
26 CDVD_TYPE_ILLEGAL, // Illegal disk type
27} CdvdDiscType_t;
28
29s32 cdInit(s32);
30CdvdDiscType_t cdGetDiscType(void);
31
32#endif
Note: See TracBrowser for help on using the repository browser.