blob: e9517dcb3bb861323c7bf2f10ecd0d6c9a29a147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef POKEREVO_DVD_DVD_H
#define POKEREVO_DVD_DVD_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct DVDDiskID
{
char gameCode[4];
char makerCode[2];
u8 unk6;
u8 unk7;
} DVDDiskID;
typedef struct DVDCommandBlock
{
u8 unk0[0x30];
} DVDCommandBlock;
typedef void (*DVDCBCallback)(s32 result, DVDCommandBlock* block);
DVDDiskID* DVDGetCurrentDiskID(void);
void DVDInit(void);
s32 DVDGetDriveStatus(void);
BOOL DVDCheckDiskAsync(DVDCommandBlock* block, DVDCBCallback callback);
#ifdef __cplusplus
}
#endif
#endif //POKEREVO_DVD_DVD_H
|