1 #include "lolevel.h"
2 #include "platform.h"
3
4 typedef struct {
5 unsigned int address;
6 unsigned int length;
7 } cam_ptp_data_chunk;
8
9 #define MAX_CHUNKS_FOR_FWT 7
10
11
12
13
14
15
16
17 typedef struct
18 {
19 int unkn1;
20 int file_offset;
21 int full_size;
22 int unkn2, unkn3, unkn4;
23 cam_ptp_data_chunk pdc[MAX_CHUNKS_FOR_FWT];
24 int seek_flag;
25 char name[32];
26 } fwt_data_struct;
27 #define FWT_MUSTSEEK 2
28 #define FWT_SEEKMASK 0xffffffff
29
30 #include "../../../generic/filewrite.c"