diff options
Diffstat (limited to 'include/SDK/DVD/dvdfs.h')
-rw-r--r-- | include/SDK/DVD/dvdfs.h | 8 |
1 files changed, 6 insertions, 2 deletions
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
|