diff options
author | red031000 <rubenru09@aol.com> | 2020-06-27 17:52:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-27 17:52:35 +0100 |
commit | c202e7568c660ce16853f6f21720240615b692f4 (patch) | |
tree | 0e6f9932e67d56a8d2342ee11f74e0ce1e6e44d7 /include/sdat.h | |
parent | 981bf953cbf711eca70d31ccec297ac38501ffd8 (diff) | |
parent | 51afc1756ecf096739b2b75806ed738bd7d56b18 (diff) |
Merge pull request #191 from PikalaxALT/pikalax_work
Sound and script cleanup; fixrom + makerom
Diffstat (limited to 'include/sdat.h')
-rw-r--r-- | include/sdat.h | 17 |
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 *); |