--- psiconv/trunk/lib/psiconv/parse_common.c 1999/10/03 21:10:47 2 +++ psiconv/trunk/lib/psiconv/parse_common.c 1999/10/27 15:05:03 20 @@ -18,6 +18,7 @@ */ #include "config.h" +#include "compat.h" #include #include @@ -68,7 +69,12 @@ (*result)->file = psiconv_texted_file; psiconv_debug(lev+2,off+len,"File is a TextEd file"); } - } + } else if ((*result)->uid2 == PSICONV_ID_MBM_FILE) { + (*result)->file = psiconv_mbm_file; + if ((*result)->uid3 != 0x00) + psiconv_warn(lev+2,off+len,"UID3 set in MBM file?!?"); + psiconv_debug(lev+2,off+len,"File is a MBM file"); + } } if ((*result)->file == psiconv_unknown_file) { psiconv_warn(lev+2,off+len,"Unknown file type"); @@ -89,12 +95,6 @@ } len += 4; - psiconv_progress(lev+2,off+len,"Going to read Section Table Section offset"); - (*result)->section_table_offset = psiconv_read_u32(buf,lev+2,off+len); - psiconv_debug(lev+2,off+len,"Section Table Section starts at offset %08x", - (*result)->section_table_offset) ; - len += 4; - if (length) *length = len;