makerom: romfs

made fixes by enler platform independent
This commit is contained in:
applestash
2014-09-20 17:29:52 +10:00
parent b4154011a7
commit de12f54762
3 changed files with 14 additions and 8 deletions
+2 -1
View File
@@ -33,7 +33,7 @@ typedef struct
typedef struct
{
u16 *name;
fs_romfs_char *name;
u32 name_len;
u64 size;
FILE *fp;
@@ -57,6 +57,7 @@ typedef struct
int fs_u8String_to_u16String(u16 **dst, u32 *dst_len, u8 *src, u32 src_len);
int fs_u16String_to_u16String(u16 **dst, u32 *dst_len, u16 *src, u32 src_len);
int fs_u32String_to_u16String(u16 **dst, u32 *dst_len, u32 *src, u32 src_len);
int fs_u16StrLen(fs_romfs_char *str);
int fs_OpenDir(fs_char *fs_path, fs_romfs_char *path, u32 pathlen, fs_dir *dir);
void fs_PrintDir(fs_dir *dir, u32 depth);