DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
libcdvd.h
1
#pragma once
2
3
#include "types.h"
4
8
struct
sceCdlFILE
{
9
u_int
lsn
;
10
u_int
size
;
11
char
name
[16];
12
u_char
date
[8];
13
};
14
18
struct
sceCdRMode
{
19
u_char
trycount
;
20
u_char
spindlctrl
;
21
u_char
datapattern
;
22
u_char
pad
;
23
};
24
25
extern
"C"
{
26
int
sceCdInit(
int
mode);
27
int
sceCdMmode(
int
media);
28
int
sceCdSearchFile(
sceCdlFILE
*file,
const
char
*name);
29
int
sceCdRead(u_int lsn, u_int sectors,
void
*buffer,
sceCdRMode
*mode);
30
int
sceCdSync(
int
mode);
31
int
sceCdGetError(
void
);
32
int
sceCdBreak(
void
);
33
}
sceCdRMode
Definition
libcdvd.h:18
sceCdRMode::datapattern
u_char datapattern
Definition
libcdvd.h:21
sceCdRMode::pad
u_char pad
Definition
libcdvd.h:22
sceCdRMode::spindlctrl
u_char spindlctrl
Definition
libcdvd.h:20
sceCdRMode::trycount
u_char trycount
Definition
libcdvd.h:19
sceCdlFILE
Definition
libcdvd.h:8
sceCdlFILE::name
char name[16]
Definition
libcdvd.h:11
sceCdlFILE::size
u_int size
Definition
libcdvd.h:10
sceCdlFILE::date
u_char date[8]
Definition
libcdvd.h:12
sceCdlFILE::lsn
u_int lsn
Definition
libcdvd.h:9
ps2
include
sce
libcdvd.h
Generated by
1.9.8