summaryrefslogtreecommitdiff
path: root/include/sdat.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-06-27 19:57:00 +0300
committerGitHub <noreply@github.com>2020-06-27 19:57:00 +0300
commitef46723261161bd2a8257144660d3be93c7b2209 (patch)
tree3dc5760aa26b48131a3e1696fdf0ba173ab1541c /include/sdat.h
parent1b13290db2cbfe938c4b800efe01331daceb057d (diff)
parentc202e7568c660ce16853f6f21720240615b692f4 (diff)
Merge branch 'master' into master
Diffstat (limited to 'include/sdat.h')
-rw-r--r--include/sdat.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/sdat.h b/include/sdat.h
index 70522a3d..3ba8583c 100644
--- a/include/sdat.h
+++ b/include/sdat.h
@@ -15,17 +15,22 @@ struct SDATHeader
u32 info_offset, info_size;
u32 fat_offset, fat_size;
u32 file_offset, file_size;
- u32 unk_00030;
+};
+
+struct SDATFileMgr
+{
+ struct SDATHeader header;
+ BOOL is_init;
FSFile file; // 00034
FSFileID fileID; // 7C
- u32 unk_00084;
- u32 unk_00088;
- void * unk_0008C;
+ void * fat_p;
+ void * symb_p;
+ void * info_p;
};
-void FUN_020C01D0(void);
+void SDAT_Init(void);
void * FUN_020C2A94(void *, u32);
-void FUN_020C26F8(struct SDATHeader *, char *, void *, u32);
+void SDAT_Open(struct SDATFileMgr *, char *, void *, u32);
void FUN_020C39CC(void *);
void FUN_020C01A0(void);
int FUN_020C290C(void *);