mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-26 13:14:18 +01:00
1cc7d3acd6
* Added initial (untested!) support for the zip file format, which is supported by the HBC * Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload. * Fixed issue 902 (hence the large commit).
24 lines
391 B
C
24 lines
391 B
C
#ifndef _FSTFILE_H_
|
|
#define _FSTFILE_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
u8 filetype;
|
|
char name_offset[3];
|
|
u32 fileoffset;
|
|
u32 filelen;
|
|
} __attribute__((packed)) FST_ENTRY;
|
|
|
|
char *fstfiles(FST_ENTRY *fst, u32 index);
|
|
char *fstfilename(u32 index);
|
|
u32 fstfileoffset(u32 index);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|