diff options
-rw-r--r-- | src/export/extract_version_2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/export/extract_version_2.c b/src/export/extract_version_2.c index f39bf5d..00ac033 100644 --- a/src/export/extract_version_2.c +++ b/src/export/extract_version_2.c | |||
@@ -384,6 +384,7 @@ int main( int args, char **argv ) { | |||
384 | 384 | ||
385 | file = map_file( argv[1], 1 ); | 385 | file = map_file( argv[1], 1 ); |
386 | if( !file ) exit( 1 ); | 386 | if( !file ) exit( 1 ); |
387 | fp = file->addr; | ||
387 | 388 | ||
388 | num_subchunks = *(uint16_t*)(fp+0x14); | 389 | num_subchunks = *(uint16_t*)(fp+0x14); |
389 | subchunk_rest_count = *(uint16_t*)(fp+0x1c); | 390 | subchunk_rest_count = *(uint16_t*)(fp+0x1c); |