Files
tp/include/JSystem/JUtility/JUTDirectFile.h
T

30 lines
546 B
C
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef JUTDIRECTFILE_H
#define JUTDIRECTFILE_H
2024-01-19 16:22:19 -08:00
#include "dolphin/dvd.h"
2023-07-21 05:39:25 +03:00
#define JUTDF_BUFSIZE (0x800)
2021-03-28 22:49:05 +02:00
2024-04-12 00:10:30 -06:00
/**
* @ingroup jsystem-jutility
*
*/
2022-12-19 11:06:32 -08:00
struct JUTDirectFile {
2025-11-30 14:23:42 -08:00
int fetch32byte();
JUTDirectFile();
~JUTDirectFile();
bool fopen(char const*);
void fclose();
int fgets(void*, int);
2023-07-21 05:39:25 +03:00
/* 0x000 */ u8 mBuffer[0x820];
/* 0x820 */ u8* mSectorStart;
/* 0x824 */ u32 mToRead;
/* 0x828 */ u32 mLength;
/* 0x82C */ u32 mPos;
/* 0x830 */ bool mIsOpen;
/* 0x834 */ DVDFileInfo mFileInfo;
2022-12-19 11:06:32 -08:00
};
2021-03-28 22:49:05 +02:00
#endif /* JUTDIRECTFILE_H */