Import SDK Types
This commit is contained in:
parent
84b3e69630
commit
4fe4c38e0d
86 changed files with 6528 additions and 27 deletions
50
include/dolphin/DVDPriv.h
Normal file
50
include/dolphin/DVDPriv.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#ifndef _DOLPHIN_DVDPRIV
|
||||
#define _DOLPHIN_DVDPRIV
|
||||
|
||||
#include <dolphin/dvd.h>
|
||||
#include <dolphin/hw_regs.h>
|
||||
#include <types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct DVDDriveInfo {
|
||||
u16 revisionLevel;
|
||||
u16 deviceCode;
|
||||
u32 releaseDate;
|
||||
u8 padding[24];
|
||||
} DVDDriveInfo;
|
||||
|
||||
typedef struct DVDBB1 {
|
||||
u32 appLoaderLength;
|
||||
void* appLoaderFunc1;
|
||||
void* appLoaderFunc2;
|
||||
void* appLoaderFunc3;
|
||||
} DVDBB1;
|
||||
|
||||
typedef struct DVDBB2 {
|
||||
u32 bootFilePosition;
|
||||
u32 FSTPosition;
|
||||
u32 FSTLength;
|
||||
u32 FSTMaxLength;
|
||||
void* FSTAddress;
|
||||
u32 userPosition;
|
||||
u32 userLength;
|
||||
|
||||
u32 padding0;
|
||||
} DVDBB2;
|
||||
|
||||
typedef void (*DVDOptionalCommandChecker)(DVDCommandBlock* block, void (*cb)(u32 intType));
|
||||
typedef void (*DVDLowCallback)(u32 intType);
|
||||
extern DVDDiskID* DVDGetCurrentDiskID();
|
||||
DVDLowCallback DVDLowClearCallback();
|
||||
BOOL DVDLowSeek(u32 offset, DVDLowCallback callback);
|
||||
void __DVDLowSetWAType(u32 type, u32 location);
|
||||
DVDCommandBlock* __DVDPopWaitingQueue();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // _DOLPHIN_DVDPRIV
|
||||
|
||||
#endif __DVDPRIV_H__
|
||||
Loading…
Add table
Add a link
Reference in a new issue