PS2SDK
PS2 Homebrew Libraries
libcdvd.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __LIBCDVD_H__
17 #define __LIBCDVD_H__
18 
19 #include <libcdvd-common.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 // EE-only libcdvd function prototypes.
26 
35 extern int sceCdReadIOPMem(u32 lbn, u32 sectors, void *buf, sceCdRMode *mode);
36 
42 extern int sceCdNCmdDiskReady(void);
43 
50 extern int sceCdSpinCtrlEE(u32 speed);
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif /* __LIBCDVD_H__ */
sceCdNCmdDiskReady
int sceCdNCmdDiskReady(void)
sceCdSpinCtrlEE
int sceCdSpinCtrlEE(u32 speed)
sceCdReadIOPMem
int sceCdReadIOPMem(u32 lbn, u32 sectors, void *buf, sceCdRMode *mode)
libcdvd-common.h
sceCdRMode
Definition: libcdvd-common.h:233