43 #define DVD_IDENTIFY 0x12 44 #define DVD_READ_DISCID 0x70 45 #define DVD_LOW_READ 0x71 46 #define DVD_WAITFORCOVERCLOSE 0x79 47 #define DVD_READ_PHYSICAL 0x80 48 #define DVD_READ_COPYRIGHT 0x81 49 #define DVD_READ_DISCKEY 0x82 50 #define DVD_GETCOVER 0x88 51 #define DVD_RESET 0x8A 52 #define DVD_OPEN_PARTITION 0x8B 53 #define DVD_CLOSE_PARTITION 0x8C 54 #define DVD_READ_UNENCRYPTED 0x8D 55 #define DVD_REPORTKEY 0xA4 57 #define DVD_READ_CONFIG 0xD1 58 #define DVD_READ_BCA 0xDA 59 #define DVD_GET_ERROR 0xE0 60 #define DVD_SET_MOTOR 0xE3 64 #define DVD_UNKNOWN 0x4 65 #define DVD_NO_DISC 0x8 66 #define DVD_IOS_ERROR 0x10 70 #define DVD_COVER_DISC_INSERTED 0x02 72 #define LIBDI_MAX_RETRIES 16 74 #define DEVICE_TYPE_WII_DVD (('W'<<24)|('D'<<16)|('V'<<8)|'D') int(* read_func)(void *, uint32_t, uint32_t)
Definition: di.h:87
int DI_Identify(DI_DriveID *id)
GLuint GLfloat * val
Definition: glext.h:7847
int DI_GetError(uint32_t *error)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
int DI_ReadDVDDiscKey(void *buf)
GLenum GLsizei len
Definition: glext.h:7389
GLsizeiptr size
Definition: glext.h:6559
int DI_ReportKey(int keytype, uint32_t lba, void *buf)
uint16_t dev_code
Definition: di.h:82
int DI_ReadDVD(void *buf, uint32_t len, uint32_t lba)
int(* di_callback)(uint32_t status, uint32_t error)
Definition: di.h:86
void DI_LoadDVDX(bool load)
void DI_SetInitCallback(di_callback cb)
int DI_Read(void *buf, u32 size, u32 offset)
int DI_ReadDVDAsync(void *buf, uint32_t len, uint32_t lba, ipccallback ipc_cb)
uint32_t rel_date
Definition: di.h:83
const DISC_INTERFACE __io_wiidvd
int DI_Read_BCA(void *buf)
int(* read_func_async)(void *, uint32_t, uint32_t, ipccallback)
Definition: di.h:88
static l_noret error(LoadState *S, const char *why)
Definition: lundump.c:39
int DI_ReadDiscID(u64 *id)
int DI_ClosePartition(void)
uint64_t u64
64bit unsigned integer
Definition: gctypes.h:20
uint16_t rev
Definition: di.h:81
s32(* ipccallback)(s32 result, void *usrdata)
Definition: ipc.h:64
Definition: iosuhax_disc_interface.h:52
void DI_UseCache(bool use)
int DI_ReadDVDPhysical(void *buf)
int DI_GetCoverRegister(uint32_t *status)
int DI_UnencryptedRead(void *buf, u32 size, u32 offset)
int DI_ReadDVDCopyright(uint32_t *copyright)
GLintptr offset
Definition: glext.h:6560
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
unsigned short uint16_t
Definition: stdint.h:125
unsigned int uint32_t
Definition: stdint.h:126
int DI_OpenPartition(u32 offset)
int DI_ReadDVDConfig(uint32_t *val, uint32_t flag)