mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-06 18:51:02 -04:00
JUTDirectFile match
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
#define JUTDF_BUFSIZE (0x800)
|
||||
|
||||
struct JUTDirectFile {
|
||||
/* 802E8730 */ int fetch32byte();
|
||||
/* 802E87F8 */ JUTDirectFile();
|
||||
/* 802E881C */ ~JUTDirectFile();
|
||||
/* 802E8860 */ bool fopen(char const*);
|
||||
/* 802E88FC */ void fclose();
|
||||
/* 802E8958 */ int fgets(void*, int);
|
||||
int fetch32byte();
|
||||
JUTDirectFile();
|
||||
~JUTDirectFile();
|
||||
bool fopen(char const*);
|
||||
void fclose();
|
||||
int fgets(void*, int);
|
||||
|
||||
/* 0x000 */ u8 mBuffer[0x820];
|
||||
/* 0x820 */ u8* mSectorStart;
|
||||
|
||||
@@ -109,6 +109,9 @@ typedef struct DVDBB2 {
|
||||
|
||||
typedef void (*DVDOptionalCommandChecker)(DVDCommandBlock* block, void (*cb)(u32 intType));
|
||||
|
||||
#define DVDGetLength(fi) (fi)->length
|
||||
#define DVDGetFileInfoStatus(fi) (DVDGetCommandBlockStatus(&(fi)->block))
|
||||
|
||||
void DVDInit(void);
|
||||
BOOL DVDOpen(const char* filename, DVDFileInfo* fileinfo);
|
||||
BOOL DVDClose(DVDFileInfo* fileinfo);
|
||||
|
||||
Reference in New Issue
Block a user