clean up and format code

This commit is contained in:
SwareJonge
2025-06-17 23:46:35 +02:00
parent c5e5f47880
commit c545a42c15
93 changed files with 7033 additions and 7909 deletions
+6 -7
View File
@@ -6,24 +6,23 @@
#define JUTDF_BUFSIZE (0x800)
struct JUTDirectFile
{
struct JUTDirectFile {
JUTDirectFile();
~JUTDirectFile();
bool fopen(const char *);
bool fopen(const char*);
void fclose();
int fgets(void *, int);
int fgets(void*, int);
// unused/inlined
int fetch32byte();
void fread(void *, u32);
void fread(void*, u32);
void setPos(u32);
void fgetc();
u8 mBuffer[0x820]; // _000, 0x20 header, 0x800 sector
u8 *mSectorStart; // _820, ptr to 0x800 buffer
u8* mSectorStart; // _820, ptr to 0x800 buffer
u32 mToRead; // _824, length (max 32 bytes) to read
u32 mLength; // _828, length of file
u32 mPos; // _82C, position in file
@@ -31,4 +30,4 @@ struct JUTDirectFile
DVDFileInfo mFileInfo; // _834
};
#endif
#endif