diff options
Diffstat (limited to 'include/SDK')
-rw-r--r-- | include/SDK/DVD/dvd.h | 1 | ||||
-rw-r--r-- | include/SDK/DVD/dvdfs.h | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/SDK/DVD/dvd.h b/include/SDK/DVD/dvd.h index 09a6c79..f10826f 100644 --- a/include/SDK/DVD/dvd.h +++ b/include/SDK/DVD/dvd.h @@ -15,6 +15,7 @@ typedef struct DVDDiskID DVDDiskID* DVDGetCurrentDiskID(void);
void DVDInit(void);
+s32 DVDGetDriveStatus(void);
#ifdef __cplusplus
}
diff --git a/include/SDK/DVD/dvdfs.h b/include/SDK/DVD/dvdfs.h index 8f95a94..0597e82 100644 --- a/include/SDK/DVD/dvdfs.h +++ b/include/SDK/DVD/dvdfs.h @@ -11,17 +11,21 @@ typedef void (*DVDCallback)(s32 result, DVDFileInfo* fileInfo); struct DVDFileInfo
{
- u8 unk0[0x40];
+ u8 unk0[0x34];
+ u32 unk34;
+ u8 unk38[0x8];
void (*unk40)(s32, void*); // TODO: not a DVDFileCallback bc an unkClass* is passed as 2nd param
void* unk44; //data cache start addr to invalidate
- u32 unk48; // data cache region size
+ s32 unk48; // data cache region size
};
BOOL DVDOpen(const char*, DVDFileInfo*);
+BOOL DVDClose(DVDFileInfo*);
s32 DVDConvertPathToEntrynum(const char* fileName);
s32 DVDReadPrio(DVDFileInfo* fileInfo, void* addr, s32 length, s32 offset, s32 prio);
s32 DVDReadAsyncPrio(DVDFileInfo* fileInfo, void* addr, s32 length, s32 offset, DVDCallback callback, s32 prio);
+
#ifdef __cplusplus
}
#endif
|